Repository.DeleteLabel 方法
刪除指定的名稱和根項目的標籤 (Label)。
命名空間: Microsoft.TeamFoundation.VersionControl.Server
組件: Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)
語法
'宣告
<WebMethodAttribute> _
Public Function DeleteLabel ( _
labelName As String, _
labelScope As String _
) As List(Of LabelResult)
[WebMethodAttribute]
public List<LabelResult> DeleteLabel(
string labelName,
string labelScope
)
參數
- labelName
型別:System.String
刪除的標籤名稱。
- labelScope
型別:System.String
表示標記範圍或父項目的項目。
傳回值
型別:System.Collections.Generic.List<LabelResult>
當 LabelResult 刪除物件的標籤清單。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。