SP.FileVersionCollection.restoreByLabel(versionlabel) Method
Applies to: SharePoint Foundation 2010
Creates a new file version from the file specified by the version label.
SP.FileVersionCollection.restoreByLabel(versionlabel);
Parameters
versionlabel
Type: String
Specifies the version label
Exceptions
The versionlabel value is in the wrong format.
Remarks
The value of versionlabel parameter should be value of the SP.FileVersion.versionLabel Property for an SP.FileVersion Class object.
Applies To
SP.FileVersionCollection Class
See Also
Reference
SP.FileVersionCollection Methods