次の方法で共有


2.2.4.2.2.2 Server

This complex type represents a Server instance.

This protocol does not allow for the creation or deletion of the Server object.

   <xsd:complexType name="Server">
     <xsd:all>
       <!--These elements are common to each MajorObject-->
       <xsd:element name="Name"  type="xsd:string" />
       <xsd:element name="ID"  type="xsd:string" minOccurs="0" />
       <xsd:element name="CreatedTimestamp" type="xsd:dateTime" minOccurs="0" />
       <xsd:element name="LastSchemaUpdate" type="xsd:dateTime" minOccurs="0" />
       <xsd:element name="Description" type="xsd:string" minOccurs="0" />
       <xsd:element name="Annotations"  minOccurs="0" >
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Annotation" type="Annotation" minOccurs="0"
                          maxOccurs="unbounded" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <!--Extended elements for Server object-->
       <xsd:element name="ProductName" type="xsd:string" minOccurs="0" />
       <xsd:element name="Edition" minOccurs="0" >
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="Standard"/>
             <xsd:enumeration value="Standard64"/>
             <xsd:enumeration value="Enterprise"/>
             <xsd:enumeration value="Enterprise64"/>
             <xsd:enumeration value="Developer"/>
             <xsd:enumeration value="Developer64"/>
             <xsd:enumeration value="Evaluation"/>
             <xsd:enumeration value="Evaluation64"/>
             <xsd:enumeration value="Local"/>
             <xsd:enumeration value="Local64"/>
             <xsd:enumeration value="BusinessIntelligence"/>
             <xsd:enumeration value="BusinessIntelligence64"/>
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="EditionID" type="xsd:long" minOccurs="0" />
       <xsd:element name="Version" type="xsd:string" minOccurs="0" />
           <xsd:element ref="eng300:ServerMode" minOccurs="0" />
       <xsd:element name="ProductLevel" type="xsd:string" minOccurs="0" />
       <xsd:element ref="eng400:DefaultCompatibilityLevel" minOccurs="0" />
       <xsd:element ref="eng600:SupportedCompatibilityLevels" minOccurs="0" />
       <xsd:element name="Databases " minOccurs="0" >
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Database" type="Database" minOccurs="0"
                          maxOccurs="unbounded" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Assemblies" minOccurs="0" >
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Assembly" type="Assembly" minOccurs="0"
                          maxOccurs="unbounded" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Traces"  minOccurs="0" >
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Trace" type="Trace" minOccurs="0"
                          maxOccurs="unbounded" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="Roles"  minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Role" type="Role" minOccurs="0"
                          maxOccurs="unbounded" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:element name="ServerProperties"  minOccurs="0" >
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="ServerProperty" type="ServerProperty"
                          minOccurs="0" maxOccurs="unbounded" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
   </xsd:complexType>

In the namespace eng300:

   <xsd:element name ="ServerMode">
     <xsd:simpleType>
       <xsd:restriction base="xsd:string" >
         <xsd:enumeration value="Multidimensional" />
         <xsd:enumeration value="Tabular" />
         <xsd:enumeration value="SharePoint" />
       </xsd:restriction>
     </xsd:simpleType>
   </xsd:element>

In the namespace eng400:

   <xsd:element name="DefaultCompatibilityLevel" type="xsd:long" minOccurs="0" />

In the namespace eng600:

  <xsd:element name="SupportedCompatibilityLevels" type="xsd:string" minOccurs="0" />

The following table describes the elements that are included in the XSD schema for the Server object. Those elements common to all major objects are described in section 2.2.4.2.2.1.

Element

Read-Only

Default value

Description

ProductName

Yes

The product name.

Edition

Yes

The product edition. The text values of the enumeration describe the edition to which each enumeration value sets this element, respectively.

EditionID

Yes

The ID for the edition.<50>

Version

Yes

The product version.<51>

ServerMode

Yes

Specifies the mode the server is operating in. Values include:

  • Multidimensional - Multidimensional and Data Mining Mode.

  • Tabular - Tabular mode.

  • SharePoint - Server is operating as a SharePoint shared service.

ProductLevel

Yes

The product level.

DefaultCompatibilityLevel

Yes

The default compatibility level for databases that are created without explicitly specifying a level.

SupportedCompatibilityLevels

Yes

The set of compatibility levels that are supported by the server. This set is provided as a list of comma separated values.

Databases

Empty

A collection of Database objects.

Assemblies

Empty

A collection of Assembly objects.

Traces

Empty

A collection of Trace objects.

Roles

Empty

A collection of Role objects.

ServerProperties

Empty

A collection of ServerProperty objects.