VersionControlServer.CreateLabel メソッド (VersionControlLabel, array<LabelItemSpec[], LabelChildOption, array<Failure[]%)
ラベルを作成します。
名前空間: 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, _
<OutAttribute> ByRef failures As Failure() _
) As LabelResult()
public LabelResult[] CreateLabel(
VersionControlLabel label,
LabelItemSpec[] itemSpecs,
LabelChildOption options,
out Failure[] failures
)
パラメーター
- label
型 : Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel
作成または更新するラベル定義。
- itemSpecs
型 : array<Microsoft.TeamFoundation.VersionControl.Client.LabelItemSpec[]
ラベルに含まれる項目の指定。
- options
型 : Microsoft.TeamFoundation.VersionControl.Client.LabelChildOption
ラベルの既存の項目を処理するオプション。
- failures
型 : array<Microsoft.TeamFoundation.VersionControl.Client.Failure[]%
エラーの一覧。
戻り値
型 : array<Microsoft.TeamFoundation.VersionControl.Client.LabelResult[]
作成されたラベル。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。