TeamFoundationVersionControlService.UnlabelItem 方法 (TeamFoundationRequestContext, String, String, String, String, array<ItemSpec[], VersionSpec, PathLength)

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

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

語法

'宣告
Public Function UnlabelItem ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    labelName As String, _
    labelScope As String, _
    items As ItemSpec(), _
    version As VersionSpec, _
    maxClientPathLength As PathLength _
) As TeamFoundationDataReader
public TeamFoundationDataReader UnlabelItem(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    string labelName,
    string labelScope,
    ItemSpec[] items,
    VersionSpec version,
    PathLength maxClientPathLength
)

參數

  • workspaceName
    類型:System.String
    工作區名稱,如果使用區域 itemspecs。
  • workspaceOwner
    類型:System.String
    工作區的擁有人,如果使用區域 itemspecs。
  • labelName
    類型:System.String
    移除項目的標記名稱。
  • labelScope
    類型:System.String
    表示標籤定義範圍的儲存機制路徑。

傳回值

類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
含有結果的 TeamFoundationDataReader 在下列順序:標籤 LabelResult [- list 影響時發生錯誤。[-發生失敗清單展開 itemSpecs。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

UnlabelItem 多載

Microsoft.TeamFoundation.VersionControl.Server 命名空間