Discover 메서드(XMLA)

MicrosoftSQL ServerAnalysis Services 인스턴스에서 특정 개체에 대한 세부 정보나 사용 가능한 데이터베이스 목록과 같은 정보를 검색합니다. Discover 메서드로 검색되는 데이터는 해당 메서드로 전달되는 매개 변수의 값에 따라 달라집니다.

네임스페이스 urn:schemas-microsoft-com:xml-analysis

SOAP 동작 "urn:schemas-microsoft-com:xml-analysis:Discover"

구문

<Discover>
<RequestType>...</RequestType>
<Restrictions>...</Restrictions>
<Properties>...</Properties>
</Discover>

요소 특징

특징

설명

데이터 형식 및 길이

없음

기본값

없음

카디널리티

0-1: 한 번만 나타날 수 있는 선택적 요소입니다.

요소 관계

관계

요소

부모 요소

없음

자식 요소

Properties, RequestType, Restrictions

주의

Discover 메서드는 Analysis Services 인스턴스 및 개체에 대한 메타데이터를 요청합니다. 메타데이터는 XMLA Rowset 데이터 형식을 사용하여 반환됩니다.

다음 코드 예제에서 클라이언트는 Discover 호출을 보내 Adventure Works DW 예제 Analysis Services 데이터베이스에서 큐브 목록을 요청합니다.

<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
   <RequestType>MDSCHEMA_CUBES</RequestType>
   <Restrictions>
      <RestrictionList>
         <CATALOG_NAME>Adventure Works DW</CATALOG_NAME>
      </RestrictionList>
   </Restrictions>
   <Properties>
      <PropertyList>
         <DataSourceInfo>Provider=MSOLAP;Data Source=local;</DataSourceInfo>
         <Catalog>Adventure Works DW</Catalog>
         <Format>Tabular</Format>
      </PropertyList>
   </Properties>
</Discover>