VersionControlServer.CreateLabel 方法 (VersionControlLabel, array<LabelItemSpec[], LabelChildOption)

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

語法

'宣告
Public Function CreateLabel ( _
    label As VersionControlLabel, _
    itemSpecs As LabelItemSpec(), _
    options As LabelChildOption _
) As LabelResult()
public LabelResult[] CreateLabel(
    VersionControlLabel label,
    LabelItemSpec[] itemSpecs,
    LabelChildOption options
)

參數

傳回值

類型:array<Microsoft.TeamFoundation.VersionControl.Client.LabelResult[]
標籤作業的結果。

備註

如果 itemSpecs 項目沒有相符的項目,失敗會報告。

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

CreateLabel 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間