Definition Type Element
Name DataSource
Namespace http://schemas.microsoft.com/data/udc
Abstract False
Documentation Provides a root node container for the UDC (Universal Data Connection) elements that describe a connection to a data source.
XSD Schema udc.xsd
XSD Schema Diagram
XSD Schema Code
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DataSource" >
  <xsd:annotation>
    <xsd:documentation>Provides a root node container for the UDC (Universal Data Connection) elements that describe a connection to a data source.</xsd:documentation>
  </xsd:annotation>

  <xsd:complexType>
    <xsd:all>
      <xsd:element minOccurs="0" maxOccurs="1" name="Type">
        <xsd:annotation>
          <xsd:documentation>Contains the attributes and elements that define the type of connection described by the UDC file.</xsd:documentation>
        </xsd:annotation>

        <xsd:complexType>
          <xsd:sequence>
            <xsd:element minOccurs="0" name="SubType">
              <xsd:annotation>
                <xsd:documentation>Further describes the type of connection to the data source. One example is the DSP sub-type for binding SOAP data.</xsd:documentation>
              </xsd:annotation>

              <xsd:complexType>
                <xsd:sequence>
                  <xsd:any minOccurs="0" processContents="skip"/>
                </xsd:sequence>

                <xsd:attribute name="Type" type="xsd:string" use="required">
                  <xsd:annotation>
                    <xsd:documentation>Specifies which of the three types of data binding to use for the data connection: SOAP, XMLFile (for accessing XML files), or PartToPart (for communicating between Web Parts).</xsd:documentation>
                  </xsd:annotation>

                </xsd:attribute>

                <xsd:attribute name="MinorVersion" type="xsd:string" use="required">
                  <xsd:annotation>
                    <xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
                  </xsd:annotation>

                </xsd:attribute>

                <xsd:attribute name="MajorVersion" type="xsd:string" use="required">
                  <xsd:annotation>
                    <xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
                  </xsd:annotation>

                </xsd:attribute>

              </xsd:complexType>

            </xsd:element>

          </xsd:sequence>

          <xsd:attribute name="Type" use="required">
            <xsd:annotation>
              <xsd:documentation>Specifies which of the three types of data binding to use for the data connection: SOAP, XMLFile (for accessing XML files), or PartToPart (for communicating between Web Parts).</xsd:documentation>
            </xsd:annotation>

            <xsd:simpleType>
              <xsd:restriction base="xsd:string">
                <xsd:enumeration value="SOAP"/>
                <xsd:enumeration value="XMLFile"/>
                <xsd:enumeration value="PartToPart"/>
              </xsd:restriction>

            </xsd:simpleType>

          </xsd:attribute>

          <xsd:attribute name="MajorVersion" type="xsd:string" use="required">
            <xsd:annotation>
              <xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
            </xsd:annotation>

          </xsd:attribute>

          <xsd:attribute name="MinorVersion" type="xsd:string" use="required">
            <xsd:annotation>
              <xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
            </xsd:annotation>

          </xsd:attribute>

        </xsd:complexType>

      </xsd:element>

      <xsd:element minOccurs="0" name="Name" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Contains the name of the data source that is used in the data source catalog.</xsd:documentation>
        </xsd:annotation>

      </xsd:element>

      <xsd:element minOccurs="0" name="ConnectionInfo" type="ConnectionInfoType">
        <xsd:annotation>
          <xsd:documentation>Contains information specific to a particular type of data connection.</xsd:documentation>
        </xsd:annotation>

      </xsd:element>

      <xsd:element minOccurs="0" name="Description" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Contains a description of the data source.</xsd:documentation>
        </xsd:annotation>

      </xsd:element>

      <xsd:element minOccurs="0" name="Keywords" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Specifies a comma-separated list of keywords describing the data source.</xsd:documentation>
        </xsd:annotation>

      </xsd:element>

      <xsd:element minOccurs="0" name="TooltipInfo" type="xsd:string">
        <xsd:annotation>
          <xsd:documentation>Specifies the string to be displayed in the ScreenTip for the data source in the data source catalog.</xsd:documentation>
        </xsd:annotation>

      </xsd:element>

    </xsd:all>

    <xsd:attribute name="MinorVersion" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>Defines the format version of the common UDC elements.</xsd:documentation>
      </xsd:annotation>

    </xsd:attribute>

    <xsd:attribute name="MajorVersion" type="xsd:string" use="required">
      <xsd:annotation>
        <xsd:documentation>Defines the format version of the common UDC elements.</xsd:documentation>
      </xsd:annotation>

    </xsd:attribute>

  </xsd:complexType>

</xsd:element>
Child Elements
Name Type Min Occurs Max Occurs
Child Attributes
Name Type Default Value Use
Derivation Tree
[No Sub Types]
DataSource
    udc:DataSource
References
udc:DataSource
Generated using Liquid XML Studio by Liquid Technologies Ltd