Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

5.1 Management Model XML Schema for Version 2009/08

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:MM="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2009/08" xmlns:RE="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2009/08" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2009/08" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xsd:annotation> 
    <xsd:documentation> 

Microsoft does not make any representation or warranty regarding the 
schema or any product or item developed based on the schema. The schema 
is provided to you on an AS IS basis.  Microsoft disclaims all express, 
implied and statutory warranties, including but not limited to the implied 
warranties of merchantability, fitness for a particular purpose, and freedom 
from infringement. Without limiting the generality of the foregoing, 
Microsoft does not make any warranty of any kind that any item developed 
based on the schema, or any portion of the schema, will not infringe any 
copyright, patent, trade secret, or other intellectual property right of any 
person or entity in any country. It is your responsibility to seek licenses 
for such intellectual property rights where appropriate. 

MICROSOFT SHALL NOT BE 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 ANY LOST PROFITS), 
PUNITIVE OR SPECIAL DAMAGES, WHETHER OR NOT MICROSOFT HAS BEEN ADVISED OF 
SUCH DAMAGES. 

(c) Microsoft Corporation. All rights reserved. 

    </xsd:documentation> 
  </xsd:annotation>
  <xs:import namespace="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2009/08" />
  <!-- 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/2009/08"      xmlns:RE="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2009/08">
    <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>
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:MM="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2009/08" xmlns:RE="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2009/08" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2009/08" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xsd:annotation> 
    <xsd:documentation> 

Microsoft does not make any representation or warranty regarding the 
schema or any product or item developed based on the schema. The schema 
is provided to you on an AS IS basis.  Microsoft disclaims all express, 
implied and statutory warranties, including but not limited to the implied 
warranties of merchantability, fitness for a particular purpose, and freedom 
from infringement. Without limiting the generality of the foregoing, 
Microsoft does not make any warranty of any kind that any item developed 
based on the schema, or any portion of the schema, will not infringe any 
copyright, patent, trade secret, or other intellectual property right of any 
person or entity in any country. It is your responsibility to seek licenses 
for such intellectual property rights where appropriate. 

MICROSOFT SHALL NOT BE 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 ANY LOST PROFITS), 
PUNITIVE OR SPECIAL DAMAGES, WHETHER OR NOT MICROSOFT HAS BEEN ADVISED OF 
SUCH DAMAGES. 

(c) Microsoft Corporation. All rights reserved. 

    </xsd:documentation> 
  </xsd:annotation>
  <xs:import namespace="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2009/08" />
  <!-- 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="Instances" xmlns:MM="http://schemas.microsoft.com/sqlserver/ManagementModel/Serialization/2009/08"      xmlns:RE="http://schemas.microsoft.com/sqlserver/RelationalEngine/Serialization/2009/08">
    <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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.