Type element

Contains the attributes and elements that define the type of connection described by the UDC file.

Usage

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

    

Element Information

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

Elements and Attributes

Parent Elements

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

Child Elements

Element Description
SubType Further describes the type of connection to the data source. One example is the DSP sub-type for binding SOAP data.

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.

Definition

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


    
©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