VersionControlServer.CurrentCommand Property
Gets or sets the command that is being executed on the client. The server records this information in the activity log so that server administrators can more easily understand the context in which individual calls to the server have taken place. This property is equivalent to the TeamFoundationServer.OperationName property.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Property CurrentCommand As String
'Usage
Dim instance As VersionControlServer
Dim value As String
value = instance.CurrentCommand
instance.CurrentCommand = value
public string CurrentCommand { get; set; }
public:
property String^ CurrentCommand {
String^ get ();
void set (String^ value);
}
public function get CurrentCommand () : String
public function set CurrentCommand (value : String)
Property Value
Type: System.String
Remarks
The server records the command in the administrative log that records the activities of the users of the VersionControlServer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.