Export (0) Print
Expand All

5.3 Management Model XML Schema for Version 2010/11

<?xml version="1.0" encoding="utf-8"?>

  THE SCHEMA IS PROVIDED TO YOU ON AN "AS IS" BASIS, AND MICROSOFT
  DISCLAIMS ALL WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING,
  WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
  FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT, AS TO THE SCHEMA OR ANY
  PRODUCT OR OTHER ITEM THAT MAY BE DEVELOPED USING THE SCHEMA.

  Without limiting the generality of the foregoing, Microsoft makes no
  warranty that any product or other item that may be developed using the
  schema, or any portion of the schema, will not infringe any copyright,
  patent, trade secret or other intellectual property right of any
  individual or legal entity in any country. It is your responsibility to
  obtain licenses to use any such intellectual property rights as appropriate.

  MICROSOFT IS NOT LIABLE FOR ANY DAMAGES OF ANY KIND ARISING OUT OF OR IN
  CONNECTION WITH THE USE OF THE SCHEMA, INCLUDING, WITHOUT LIMITATION, ANY
  DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL (INCLUDING LOST REVENUES OR LOST
  PROFITS), PUNITIVE OR SPECIAL DAMAGES, WHETHER OR NOT MICROSOFT HAS BEEN
  ADVISED OF SUCH DAMAGES.

  (c) Microsoft Corporation.  All rights reserved.


<xs:schema xmlns:MM="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2010/11" xmlns:RE="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2010/11" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2010/11" xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:import namespace="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2010/11" />

  <!-- Management Model simpleTypes -->
  <xs:simpleType name="KeyPatternType">
    <xs:restriction base="xs:string">
      <xs:pattern value="(\/.*\[.*\])*" />
    </xs:restriction>
  </xs:simpleType>

  <!-- Management Model complexTypes -->
  <xs:complexType name="InstanceType" abstract="true">
    <xs:attribute ref="MM:Key" use="required"/>
  </xs:complexType>
  <xs:complexType name="ReferenceType">
    <xs:attribute ref="MM:ReferenceKey" use="required" />
  </xs:complexType>
  <xs:complexType name="ReferencesType">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="unbounded" ref="MM:Reference" />
    </xs:sequence>
  </xs:complexType>

  <!-- Management Model attributes-->
  <xs:attribute name="Key" type="MM:KeyPatternType" />
  <xs:attribute name="ReferenceKey" type="MM:KeyPatternType" />

  <!-- Management Model Elements -->
  <!--<xs:element name="Instance" type="MM:InstanceType"/>-->

  <xs:element name="Instances" xmlns:MM="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2010/11"      xmlns:RE="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2010/11">
    <xs:complexType>
      <!--<xs:sequence>-->
        <xs:choice minOccurs="0" maxOccurs="unbounded">
          <xs:element ref="RE:Database" maxOccurs="1" />
          <xs:element ref="RE:CheckConstraint" />
          <xs:element ref="RE:Column" />
          <xs:element ref="RE:DatabaseRole" />
          <xs:element ref="RE:DefaultConstraint" />
          <xs:element ref="RE:DmlTrigger" />
          <xs:element ref="RE:ForeignKeyColumn" />
          <xs:element ref="RE:ForeignKeyConstraint" />
          <xs:element ref="RE:IndexedColumn" />
          <xs:element ref="RE:Login" />
          <xs:element ref="RE:PrimaryKeyConstraint" />
          <xs:element ref="RE:RelationalIndex" />
          <xs:element ref="RE:ScalarParameter" />
          <xs:element ref="RE:ScalarValuedFunction" />
          <xs:element ref="RE:Schema" />
          <xs:element ref="RE:StoredProcedure" />
          <xs:element ref="RE:Table" />
          <xs:element ref="RE:TableParameter" />
          <xs:element ref="RE:TableValuedFunction" />
          <xs:element ref="RE:UniqueConstraint" />
          <xs:element ref="RE:User" />
          <xs:element ref="RE:UserDefinedDataType" />
          <xs:element ref="RE:UserDefinedTableType" />
          <xs:element ref="RE:View" />
        </xs:choice>
      <!--</xs:sequence>-->
    </xs:complexType>
  </xs:element>

<xs:element name="Reference" type="MM:ReferenceType" />
</xs:schema>
Show:
© 2015 Microsoft