Share via


PendingState.RevertToVersion Property

The revert to version is specified to tell the server that it could not retrieve a file do to local changes and that if the changes are undone, this is the version that should be on the computer.

Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)

Syntax

'Declaration
Public Property RevertToVersion As Integer
public int RevertToVersion { get; set; }
public:
property int RevertToVersion {
    int get ();
    void set (int value);
}
member RevertToVersion : int with get, set
function get RevertToVersion () : int 
function set RevertToVersion (value : int)

Property Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

PendingState Class

Microsoft.TeamFoundation.VersionControl.Server Namespace