Definition Type: Element
Name: DataSource
Namespace: http://schemas.microsoft.com/data/udc
Containing Schema: udc.xsd
Abstract
Documentation:
Provides a root node container for the UDC (Universal Data Connection) elements that describe a connection to a data source.
Collapse XSD Schema Diagram:
Drilldown into TooltipInfo in schema udc_xsd Drilldown into Keywords in schema udc_xsd Drilldown into Description in schema udc_xsd Drilldown into ConnectionInfo in schema udc_xsd Drilldown into Name in schema udc_xsd Drilldown into Type in schema udc_xsd Drilldown into MajorVersion in schema udc_xsd Drilldown into MinorVersion in schema udc_xsdXSD Diagram of DataSource in schema udc_xsd (Microsoft Office 2003 Reference Schemas)
Collapse XSD Schema Code:
<xsd:element 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 name="Type" minOccurs="0" maxOccurs="1">
                <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 name="SubType" minOccurs="0">
                            <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 processContents="skip" minOccurs="0" />
                                </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 name="Name" type="xsd:string" minOccurs="0">
                <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 name="ConnectionInfo" type="ConnectionInfoType" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Contains information specific to a particular type of data connection.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="Description" type="xsd:string" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Contains a description of the data source.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="Keywords" type="xsd:string" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Specifies a comma-separated list of keywords describing the data source.</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="TooltipInfo" type="xsd:string" minOccurs="0">
                <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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Type udc:Type 0 1
Name udc:Name 0 (1)
ConnectionInfo udc:ConnectionInfo 0 (1)
Description udc:Description 0 (1)
Keywords udc:Keywords 0 (1)
TooltipInfo udc:TooltipInfo 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
MinorVersion udc:MinorVersion Required
MajorVersion udc:MajorVersion Required