共用方式為


2.2.4.2.2.3 Assembly

The Assembly complex type represents a function library that can be invoked from within a Multidimensional Expressions (MDX), Data Mining Extensions (DMX), or SQL query.

Assembly is an abstract type and requires an instance to identify the type of Assembly being sent--ComAssembly or ClrAssembly.

   <xsd:complexType name="Assembly" abstract="true" >
     <xsd:sequence>
       <!--These elements are common to each MajorObject-->
       <xsd:element name="ID"  type="xsd:string" minOccurs="0" />
       <xsd:element name="Name"  type="xsd:string" />
       <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 Assembly object-->
       <xsd:element name="ImpersonationInfo" type="ImpersonationInfo"
                    minOccurs="0" />
     </xsd:sequence>
   </xsd:complexType>
            

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

Element

Read-Only

Default value

Description

ImpersonationInfo

Empty

User credentials under which to invoke the assembly.