다음을 통해 공유


Repository5.QueryMergeCandidates 메서드

원본에서 대상으로 병합 해야 하는 변경 집합을 반환 합니다.

네임스페이스:  Microsoft.TeamFoundation.VersionControl.Server
어셈블리:  Microsoft.TeamFoundation.VersionControl.Server(Microsoft.TeamFoundation.VersionControl.Server.dll)

구문

‘선언
<WebMethodAttribute> _
Public Function QueryMergeCandidates ( _
    workspaceName As String, _
    workspaceOwner As String, _
    source As ItemSpec, _
    target As ItemSpec, _
    options As Integer, _
    maxClientPathLength As Integer _
) As List(Of MergeCandidate)
[WebMethodAttribute]
public List<MergeCandidate> QueryMergeCandidates(
    string workspaceName,
    string workspaceOwner,
    ItemSpec source,
    ItemSpec target,
    int options,
    int maxClientPathLength
)

매개 변수

  • workspaceName
    형식: System.String
    로컬 경로 정하는 데 사용 되는 작업 영역 이름입니다.
  • workspaceOwner
    형식: System.String
    작업 영역 소유자 로컬 경로 정하는 데 사용 됩니다.
  • maxClientPathLength
    형식: System.Int32
    최대 클라이언트 서버 경로 길이 지원 합니다.

반환 값

형식: System.Collections.Generic.List<MergeCandidate>
MergeCandidate 개체의 배열입니다.

설명

소스 및 대상 관련 되지 않은 경우는 NoMergeRelationshipException을 throw 합니다.

.NET Framework 보안

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

참고 항목

참조

Repository5 클래스

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