ITestPlan.QueryTestPointsAndStatistics 메서드 (String, String, ITestPointStatistics%)

이 계획에 속하고 WIQL 주어진된 조건에 맞는 모든 요소를 찾습니다.

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

구문

‘선언
Function QueryTestPointsAndStatistics ( _
    queryText As String, _
    testCaseFieldText As String, _
    <OutAttribute> ByRef statistics As ITestPointStatistics _
) As ITestPointCollection
ITestPointCollection QueryTestPointsAndStatistics(
    string queryText,
    string testCaseFieldText,
    out ITestPointStatistics statistics
)
ITestPointCollection^ QueryTestPointsAndStatistics(
    String^ queryText, 
    String^ testCaseFieldText, 
    [OutAttribute] ITestPointStatistics^% statistics
)
abstract QueryTestPointsAndStatistics : 
        queryText:string * 
        testCaseFieldText:string * 
        statistics:ITestPointStatistics byref -> ITestPointCollection 
function QueryTestPointsAndStatistics(
    queryText : String, 
    testCaseFieldText : String, 
    statistics : ITestPointStatistics
) : ITestPointCollection

매개 변수

  • queryText
    형식: System.String
    WIQL 쿼리 문자열 포인트를 검색 합니다.
  • testCaseFieldText
    형식: System.String
    포함 된 테스트 사례를 검색 하기 위한 WIQL 문자열입니다.

반환 값

형식: Microsoft.TeamFoundation.TestManagement.Client.ITestPointCollection
쿼리와 일치 하는 점의 컬렉션입니다.

설명

WIQL 필드가이 쿼리에서 사용할 수 있는 몇 가지: 속하는 TestCaseId PointState AreaPath RecursiveSuiteId SuiteId: 모든 지점으로 Recursivesuiteid로 시작 하는 제품군 계층을 쿼리할 수 있습니다.

.NET Framework 보안

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

참고 항목

참조

ITestPlan 인터페이스

QueryTestPointsAndStatistics 오버로드

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