Repository5.UnlabelItem 方法

從具名標籤移除特定項目。

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

語法

'宣告
<WebMethodAttribute> _
Public Function UnlabelItem ( _
    workspaceName As String, _
    workspaceOwner As String, _
    labelName As String, _
    labelScope As String, _
    items As ItemSpec(), _
    version As VersionSpec, _
    maxClientPathLength As Integer, _
    <OutAttribute> ByRef failures As List(Of Failure) _
) As List(Of LabelResult)
[WebMethodAttribute]
public List<LabelResult> UnlabelItem(
    string workspaceName,
    string workspaceOwner,
    string labelName,
    string labelScope,
    ItemSpec[] items,
    VersionSpec version,
    int maxClientPathLength,
    out List<Failure> failures
)

參數

  • workspaceName
    類型:System.String
    工作區名稱,如果使用區域 itemspecs。
  • workspaceOwner
    類型:System.String
    工作區的擁有人,如果使用區域 itemspecs。
  • labelName
    類型:System.String
    移除項目的標記名稱。
  • maxClientPathLength
    類型:System.Int32
    最大用戶端支援伺服器路徑長度。

傳回值

類型:System.Collections.Generic.List<LabelResult>
受影響的標籤清單。

.NET Framework 安全性

請參閱

參考

Repository5 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間