Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Retrieves information, such as the list of available databases or details about a specific object, from an instance of Analysis Services. The data retrieved with the Discover method depends on the values of the parameters passed to it.
Namespace urn:schemas-microsoft-com:xml-analysis
SOAP Action "urn:schemas-microsoft-com:xml-analysis:Discover"
<Discover>
<RequestType>...</RequestType>
<Restrictions>...</Restrictions>
<Properties>...</Properties>
</Discover>
Characteristic | Description |
---|---|
Data type and length | None |
Default value | None |
Cardinality | 0-1: Optional element that can occur once and only once. |
Relationship | Element |
---|---|
Parent element | None |
Child elements | Properties, RequestType, Restrictions |
The Discover method requests metadata about instances and objects. Metadata is returned using the XMLA Rowset data type.
Tip
If you are unfamiliar with XML commands, click the XMLA query template on the Query toolbar in Management Studio, to build the query and add parameters.
In the following code sample, the client sends the Discover call to request a list of cubes from the Adventure Works DW Multidimensional 2012 sample Analysis Services database:
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
<RequestType>MDSCHEMA_CUBES</RequestType>
<Restrictions>
<RestrictionList>
<CATALOG_NAME>Adventure Works DW Multidimensional 2012</CATALOG_NAME>
</RestrictionList>
</Restrictions>
<Properties>
<PropertyList>
<DataSourceInfo>Provider=MSOLAP;Data Source=local;</DataSourceInfo>
<Catalog>Adventure Works DW Multidimensional 2012</Catalog>
<Format>Tabular</Format>
</PropertyList>
</Properties>
</Discover>
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today