Share via


2.1.3.2 Using Analysis Management Objects

The Analysis Management Objects (AMO) object model enables implementers to programmatically manage a running instance of an Analysis Services database. For more information about AMO, see [MSDN-AMO].

To extract metadata by using AMO, follow these steps:

  1. Use the Server.Connect() method to connect to Analysis Services.

  2. Initialize a System.Xml.XmlWriter instance, such as System.Xml.XmlTextWriter.

  3. Use the Server.Connect() method to connect to Analysis Services.

  4. Flush and close the System.Xml.XmlWriter instance.

The output of these steps results in XML content that contains all metadata objects within the database and that conforms to the XSD language documented in [MS-SSAS].