Udostępnij za pośrednictwem


Odkryj metoda (XMLA)

Retrieves information, such as the list of available databases or details about a specific object, from an instance of Microsoft SQL Server Analysis Services.Dane pobierane z Discover metoda zależy od wartości parametrów przekazanych do niego.

Obszar nazw urn: schemas-microsoft - com:xml - analiza

Akcja SOAP "urn: schemas-microsoft - com:xml - analizy: Odkrywanie"

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

Właściwości elementu

Charakterystyka

Description

Typ danych i długość

None

Wartość domyślna

None

Relacja

0-1: Opcjonalnego elementu, który może występować tylko raz i tylko raz.

Relacje elementu

Relacja

Element

Element nadrzędny

None

Elementy podrzędność

Właściwości, RequestType, Ograniczenia

Remarks

The Discover metoda requests metadane about Analysis Services instances and objects. Metadane są zwracane przy użyciu XMLA Zestaw wierszy typ danych.

Example

W następującym przykładzie kodu, klient wysyła Discover wywołanie na żądanie listę modułów z próbki firmy Adventure Works DW Analysis Services Baza danych:

<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>