DataSource element

Provides a root node container for the UDC (Universal Data Connection) elements that describe a connection to a data source.

Usage

      
<DataSource
	Type="xsd:string"
	MinorVersion="xsd:string"
	MajorVersion="xsd:string"
	Type="xsd:string"
	MajorVersion="xsd:string"
	MinorVersion="xsd:string"
	MinorVersion="xsd:string"
	MajorVersion="xsd:string"
/>

    

Element Information

Element type Anonymous
Namespace http://schemas.microsoft.com/data/udc
Schema name Universal Data Connection

Elements and Attributes

Child Elements

Element Description
Type Contains the attributes and elements that define the type of connection described by the UDC file.
SubType Further describes the type of connection to the data source. One example is the DSP sub-type for binding SOAP data.
Name Contains the name of the data source that is used in the data source catalog.
ConnectionInfo Contains information specific to a particular type of data connection.
Description Contains a description of the data source.
Keywords Specifies a comma-separated list of keywords describing the data source.
TooltipInfo Specifies the string to be displayed in the ScreenTip for the data source in the data source catalog.

Attributes

Attribute Type Required Description Possible Values
Type xsd:string required 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). See external namespace.
MinorVersion xsd:string required Defines the format version of the elements defined by this Type. See external namespace.
MajorVersion xsd:string required Defines the format version of the elements defined by this Type. See external namespace.
Type Anonymous required 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).
  • SOAP
  • XMLFile
  • PartToPart
MajorVersion xsd:string required Defines the format version of the elements defined by this Type. See external namespace.
MinorVersion xsd:string required Defines the format version of the elements defined by this Type. See external namespace.
MinorVersion xsd:string required Defines the format version of the common UDC elements. See external namespace.
MajorVersion xsd:string required Defines the format version of the common UDC elements. See external namespace.

Definition

      
<xsd:element name="DataSource" >
  <xsd:complexType>
    <xsd:all>
      <xsd:element name="Type" minOccurs="0" maxOccurs="1">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="SubType" minOccurs="0">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:any processContents="skip" minOccurs="0" />
                </xsd:sequence>
                <xsd:attribute name="Type" type="xsd:string" use="required">
                </xsd:attribute>
                <xsd:attribute name="MinorVersion" type="xsd:string" use="required">
                </xsd:attribute>
                <xsd:attribute name="MajorVersion" type="xsd:string" use="required">
                </xsd:attribute>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
          <xsd:attribute name="Type" use="required">
            <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:attribute>
          <xsd:attribute name="MinorVersion" type="xsd:string" use="required">
          </xsd:attribute>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="Name" type="xsd:string" minOccurs="0">
      </xsd:element>
      <xsd:element name="ConnectionInfo" type="ConnectionInfoType" minOccurs="0">
      </xsd:element>
      <xsd:element name="Description" type="xsd:string" minOccurs="0">
      </xsd:element>
      <xsd:element name="Keywords" type="xsd:string" minOccurs="0">
      </xsd:element>
      <xsd:element name="TooltipInfo" type="xsd:string" minOccurs="0">
      </xsd:element>
    </xsd:all>
    <xsd:attribute name="MinorVersion" type="xsd:string" use="required">
    </xsd:attribute>
    <xsd:attribute name="MajorVersion" type="xsd:string" use="required">
    </xsd:attribute>
  </xsd:complexType>
</xsd:element>


    
©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp