administrationService.purgeByJobId(serverUrl, userName, password, jobId)
The password is not encrypted when it is sent from the client to the server. You can omit the password parameter if server does not require one.
If the
jobId does not exist, a warning is thrown.
Any other exception is passed to the client.
TRUE if the specified job is purged; otherwise
FALSE.
## Not run: ## userName <- "johndoe" ## password <- "mypassword" ## serverUrl <- "http://myserver:8080" ## webdavRoot = paste(serverUrl, "/SPServer/webdav", sep = "") ## resultsFolder <- paste(webdavRoot, "/results", sep = "") ## ##administrationService.purgeByJobId(serverUrl, userName, password, "1234") ## End(Not run)