VersionControlServer.QueryLabels メソッド (String, String, String, Boolean, String, VersionSpec, Boolean)
VersionControlLabel のオブジェクトの配列のクエリは結果リポジトリの項目に適用しました。
名前空間: Microsoft.TeamFoundation.VersionControl.Client
アセンブリ: Microsoft.TeamFoundation.VersionControl.Client (Microsoft.TeamFoundation.VersionControl.Client.dll 内)
構文
'宣言
Public Function QueryLabels ( _
labelName As String, _
labelScope As String, _
owner As String, _
includeItems As Boolean, _
filterItem As String, _
versionFilterItem As VersionSpec, _
includeDownloadInfo As Boolean _
) As VersionControlLabel()
public VersionControlLabel[] QueryLabels(
string labelName,
string labelScope,
string owner,
bool includeItems,
string filterItem,
VersionSpec versionFilterItem,
bool includeDownloadInfo
)
パラメーター
- labelName
型 : System.String
照会されるラベルの名前。
- labelScope
型 : System.String
ラベルが定義されているスコープを表すリポジトリのパス。
- owner
型 : System.String
ラベルを作成したユーザー。すべての所有者に一致するように null 値を指定します。
- includeItems
型 : System.Boolean
ラベルに項目を含めるように調整します。false 使用できません。
- filterItem
型 : System.String
は null を返しますが、この項目の Include だけにラベルを付ける (サーバーまたはローカル パス)。
- versionFilterItem
型 : Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
filterItemのVersionSpec。filterItem が null の場合は無視されます。
- includeDownloadInfo
型 : System.Boolean
情報をファイルをダウンロードするために必要な取得するように調整します。必要な帯域幅を節約するために false を設定します。
戻り値
型 : array<Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel[]
VersionControlLabel のオブジェクト配列はリポジトリの項目に適用しました。
解説
返されるオブジェクトを使用してファイルをダウンロードする場合に、が true に設定されている includeDownloadInfo だけです。 呼び出しは includeDownloadInfo が false の場合、実行速度と、帯域幅が必要です (それを指定しないオーバーロード) の既定値です。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。