RestoreResource Method
Restores a file to a previous revision.
Syntax
[VB.NET] Public Sub RestoreResource(ByVal Revision As String)
[C#] public void RestoreResource(string revision);
Remarks
This method restores a file specified by ResourcePath to a previous revision.
Before calling this method set ResourcePath to the absolute path of the file. Both the path and filename should be lowercased.
This method may also be used to restore a deleted file to a previous revision. There is no difference in behavior when restoring an existing or deleted file.
NOTE: This method has a corresponding asynchronous version (RestoreResourceAsync) for use in the WinRT environment.