Share via


VersionControlServer.QueryLabels メソッド (String, String, String, 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 _
) As VersionControlLabel()
public VersionControlLabel[] QueryLabels(
    string labelName,
    string labelScope,
    string owner,
    bool includeItems
)

パラメーター

  • labelName
    型 : System.String
    照会されるラベルの名前。
  • labelScope
    型 : System.String
    ラベルが定義されているスコープを表すリポジトリのパス。
  • owner
    型 : System.String
    ラベルを作成したユーザー。すべての所有者に一致するように null 値を指定します。
  • includeItems
    型 : System.Boolean
    ラベルに項目を含めるように調整します。false 使用できません。

戻り値

型 : array<Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel[]
VersionControlLabel の配列はクエリの結果について説明します。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

関連項目

VersionControlServer クラス

QueryLabels オーバーロード

Microsoft.TeamFoundation.VersionControl.Client 名前空間