Description Usage Arguments Value Examples
This attempts to delete a repository and returns whether the operation was successful
1 | deleteTFSRepository(URL, Credentials, Repo, ..., URLSub = "DefaultCollection")
|
URL |
URL for root TFS e.g. http://stephlocke.visualstudio.com |
Credentials |
|
Repo |
Name of repository to be deleted |
... |
Additional arguments to httr::DELETE |
URLSub |
Modify this if you need to reference somewhere other than DefaultCollection |
Result String containing delete status
1 2 3 4 5 6 7 | tfs <- "https://stephlocke.visualstudio.com"
authcreds <- TFSAuth(pwd="fz43enydh7vi2o6jqir2gmftohh7ooz2lizqvy6jxtw4ltrpwola")
parentproj <- "tfsr3"
newrepo <- as.character(random::randomStrings(n=1, len=6))
createdrepo <- createTFSRepository(tfs,authcreds,parentproj,newrepo)
deleteTFSRepository(tfs,authcreds,newrepo)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.