Delen via


VersionControlServer.CurrentCommand Property

Gets or sets the command that is executed on the client side.

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

Syntax

'Declaration
Public Property CurrentCommand As String
public string CurrentCommand { get; set; }
public:
property String^ CurrentCommand {
    String^ get ();
    void set (String^ value);
}
member CurrentCommand : string with get, set
function get CurrentCommand () : String 
function set CurrentCommand (value : String)

Property Value

Type: System.String
The command that is executed on the client side.

Remarks

The server records the current command in the activity log, which makes it easier to understand what commands have been performed.This property is the same as the TeamFoundationServer.OperationName property and gets or sets that property.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace