<Discover>
<RequestType>...</RequestType>
<Restrictions>...</Restrictions>
<Properties>...</Properties>
</Discover>
<Discover xmlns="urn:schemas-microsoft-com:xml-analysis">
<RequestType>DISCOVER_DATASOURCES</RequestType>
<Restrictions></Restrictions>
<Properties></Properties>
<RequestType>DISCOVER_INSTANCES</RequestType>
<Restrictions>
<RestrictionList>
<INSTANCE_NAME></INSTANCE_NAME>
</RestrictionList>
</Restrictions>
<RequestType>MDSCHEMA_CUBES</RequestType>
<Properties>
<PropertyList>
</PropertyList>
</Properties>
<RequestType>MDSCHEMA_DIMENSIONS</RequestType>
<Catalog>AWBISE</Catalog>
<Cube>BIART</Cube>
<CUBE_NAME>BIART</CUBE_NAME>
string xmlaResult = _xmlaWS.Send(command, null);
public void Discover(string requestType, string restrictions,
string properties, out string result,
bool skipResult, bool restrictionsXmlIsComplete,
bool propertiesXmlIsComplete)
Member of Microsoft.AnalysisServices.Xmla.XmlaClient
private void btnDDimensions_Click(object sender, EventArgs e)
{
XmlDocument xmlDom = new XmlDocument();
string result = "";
string filter = "<PropertyList></PropertyList>";
_xmlaWS.Discover("MDSCHEMA_DIMENSIONS", "", filter, out result, false, true, true);
xmlDom.LoadXml(result);
XmlNodeList nl = xmlDom.GetElementsByTagName("row");
Debug.WriteLine(nl);
this.renderData(nl);
}
<RequestType>MDSCHEMA_HIERARCHIES</RequestType>
<CATALOG_NAME>AWBISE</CATALOG_NAME>
<DIMENSION_UNIQUE_NAME>[Promotion]</DIMENSION_UNIQUE_NAME>
<RequestType>MDSCHEMA_LEVELS</RequestType>
<HIERARCHY_UNIQUE_NAME>[Promotion].[Promotions]</HIERARCHY_UNIQUE_NAME>
<RequestType>MDSCHEMA_MEMBERS</RequestType>
<LEVEL_UNIQUE_NAME>[Promotion].[Promotions].[Promotion Type]</LEVEL_UNIQUE_NAME>