共用方式為


VersionControlServer.CurrentCommand 屬性

取得或設定在用戶端上執行的命令。

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
Public Property CurrentCommand As String
public string CurrentCommand { get; set; }

屬性值

型別:System.String
在用戶端上執行的命令。

備註

伺服器記錄在活動記錄檔的目前命令,可讓您更容易了解執行的命令。這個屬性會與 TeamFoundationServer.OperationName 屬性並取得或屬性的集合。

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

Microsoft.TeamFoundation.VersionControl.Client 命名空間