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
    True 이면 항목의 레이블을 포함 합니다.False 이면 포함 되어 있지 않습니다.

반환 값

형식: array<Microsoft.TeamFoundation.VersionControl.Client.VersionControlLabel[]
배열을 VersionControlLabel 개체를 쿼리 결과로 발생 합니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

VersionControlServer 클래스

QueryLabels 오버로드

Microsoft.TeamFoundation.VersionControl.Client 네임스페이스