Export (0) Print
Expand All

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="Annotation"  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>

Also included in the DataSourceView object are all elements from MajorObject.

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].

Show:
© 2014 Microsoft