Yöntem (XMLA) keşfedin
Retrieves information, such as the list of available databases or details about a specific object, from an instance of Microsoft SQL Server Analysis Services.Ile alınan verileri Discover yöntem kendisine geçirilen parametreleri değerlerini bağlıdır.
Ad alanı urn: schemas-microsoft - com:xml - analiz
SOAP eylem "urn: schemas-microsoft - com:xml - çözümlemesi: keşif"
<Discover>
<RequestType>...</RequestType>
<Restrictions>...</Restrictions>
<Properties>...</Properties>
</Discover>
Öğe özellikleri
Özellik |
Açıklama |
---|---|
Veri türü ve uzunluğu |
None |
Varsayılan değer |
None |
Önem düzeyi |
0-1: Bir kez ve yalnızca bir kez oluşan isteğe bağlı bir öğe. |
Remarks
The Discover yöntem requests meta veriler about Analysis Services instances and objects. XMLA kullanarak meta veriler döndürdü Satır kümesi veri türü.
Example
Aşağıdaki kod örneği, istemciye gönderir Discover Adventure Works DW örnek küplerin listesini istemek için çağrı Analysis Services Veritabanı:
<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>
See Also