Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

DeleteAllVersions method of Versions Web service

  Asked By: Christina    Date: Dec 28    Category: Sharepoint    Views: 689

I am using the DeleteAllVersions method of the Versions web-service.

The documentation says to use the method as follows :-

XmlNode ndVersions = versionService.DeleteAllVersions("Shared
Documents/File_Name");

I have tried using it as:

XmlNode ndVersions = versionService.DeleteAllVersions("Shared
Documents/File_Name");

XmlNode ndVersions = versionService.DeleteAllVersions("Absolute path
of the document in the Doc Lib");

Both with and without the extension of the document.

The code is running successfully, but the document is not actually
deleted.

Any clues on where I am going wrong.

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on DeleteAllVersions method of Versions Web service Or get search suggestion and latest updates.