TeamFoundationVersionControlService.SetPendingChangeAttribute 方法

將指定的暫止變更的屬性。

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

語法

'宣告
Public Function SetPendingChangeAttribute ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    pendingChangePropertyValues As ArtifactPropertyValue() _
) As TeamFoundationDataReader
public TeamFoundationDataReader SetPendingChangeAttribute(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ArtifactPropertyValue[] pendingChangePropertyValues
)

參數

  • workspaceName
    類型:System.String
    使用的工作區名稱為本機路徑對伺服器路徑對應,如果提供區域路徑 itemspecs。
  • workspaceOwner
    類型:System.String
    工作區擁有人的名稱,如果提供工作區名稱。

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
傳回 TeamFoundationDataReader

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間