2.3.4 Type

The connection type for the UDC file.

Parent Elements

DataSource

Child Elements

SubType

Attributes:

MajorVersion: The major version of the UDC file. MUST be ignored by the protocol server.

MinorVersion: The minor version of the UDC file. MUST be ignored by the protocol server.

Type: The connection type of the UDC file. MUST be one of the following values:

  • SharePointList

  • SharePointLibrary

  • Database

  • XmlQuery

  • WebService

  • XmlSubmit

  • Rest

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="Type">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element ref="udc:SubType" minOccurs="0"/>
     </xsd:sequence>
     <xsd:attribute name="MajorVersion" type="xsd:string" use="optional"/>
     <xsd:attribute name="MinorVersion" type="xsd:string" use="optional"/>
     <xsd:attribute name="Type" use="required">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="SharePointList"/>
           <xsd:enumeration value="SharePointLibrary"/>
           <xsd:enumeration value="Database"/>
           <xsd:enumeration value="XmlQuery"/>
           <xsd:enumeration value="WebService"/>
           <xsd:enumeration value="XmlSubmit"/>
           <xsd:enumeration value="Rest"/>
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:attribute>
   </xsd:complexType>
 </xsd:element>