TeamFoundationVersionControlService.SetPendingChangeProperty 方法

注意:這個應用程式開發介面現在已經過時。

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

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

語法

'宣告
<ObsoleteAttribute("Please use SetPendingChangeAttribute to set attributes on pending changes.",  _
    False)> _
Public Function SetPendingChangeProperty ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    pendingChangePropertyValues As ArtifactPropertyValue() _
) As TeamFoundationDataReader
[ObsoleteAttribute("Please use SetPendingChangeAttribute to set attributes on pending changes.", 
    false)]
public TeamFoundationDataReader SetPendingChangeProperty(
    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 命名空間