次の方法で共有


2.2.4.2.2.7 DataSourceView

The DataSourceView complex type represents a view over the schema of a data source.

   <xsd:complexType name="DataSourceView">
     <xsd:complexContent>
     <xsd:extension base="MajorObject">
     <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 DataSourceView object-->
       <xsd:element name="DataSourceID" type="xsd:string"/>
       <xsd:element name="Schema">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element ref="xsd:schema" />
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
     </xsd:extension>
     </xsd:complexContent>
  </xsd:complexType>

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

Element

Read-Only

Default value

Description

DataSourceID

[Required]

The ID of the DataSource for which this is a DataSourceView.

Schema

[Required]

The schema of the DataSource, for example, the contents of the DataSource view. This is defined using the "Schema" element from XMLSchema (XSD), as used in the persistence format of DataSets. For more information, see [MSDN-DDRXSD].