1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
  
     | 
    
      <html dir="ltr"><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="assetid" CONTENT="HV01102228"><META NAME="lcid" CONTENT="1033"><title>DataSource element</title><link rel="stylesheet" type="text/css" href="office10.css"><script type="text/javascript" language="Javascript" src="ExpCollapse.js"></script><script type="text/javascript" language="JavaScript" src="inline.js"></script></head><body><h1>DataSource element</h1><p>Provides a root node container for the UDC (Universal Data Connection) elements that describe a connection to a data source.</p><h2>Usage</h2><pre>
      <code>
<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"
/>
</code>
    </pre><h2>Element Information</h2><table>
      <tr>
        <td>
          <b class="bterm">Element type</b>
        </td>
        <td>Anonymous</td>
      </tr>
      <tr>
        <td>
          <b class="bterm">Namespace</b>
        </td>
        <td>http://schemas.microsoft.com/data/udc</td>
      </tr>
      <tr>
        <td>
          <b class="bterm">Schema name</b>
        </td>
        <td>Universal Data Connection</td>
      </tr>
    </table><h2>Elements and Attributes</h2><h3>Child Elements</h3><table>
      <tr>
        <th>Element</th>
        <th>Description</th>
      </tr>
      <tr>
        <td><a href="udceleType_HV01102235.htm" id="HV01102235" lcid="">Type</a></td>
        <td>Contains the attributes and elements that define the type of connection described by the UDC file.</td>
      </tr>
      <tr>
        <td><a href="udceleSubType_HV01102233.htm" id="HV01102233" lcid="">SubType</a></td>
        <td>Further describes the type of connection to the data source. One example is the DSP sub-type for binding SOAP data.</td>
      </tr>
      <tr>
        <td><a href="udceleName_HV01102232.htm" id="HV01102232" lcid="">Name</a></td>
        <td>Contains the name of the data source that is used in the data source catalog.</td>
      </tr>
      <tr>
        <td><a href="udceleConnectionInfo_HV01102224.htm" id="HV01102224" lcid="">ConnectionInfo</a></td>
        <td>Contains information specific to a particular type of data connection.</td>
      </tr>
      <tr>
        <td><a href="udceleDescription_HV01102229.htm" id="HV01102229" lcid="">Description</a></td>
        <td>Contains a description of the data source.</td>
      </tr>
      <tr>
        <td><a href="udceleKeywords_HV01102231.htm" id="HV01102231" lcid="">Keywords</a></td>
        <td>Specifies a comma-separated list of keywords describing the data source.</td>
      </tr>
      <tr>
        <td><a href="udceleTooltipInfo_HV01102234.htm" id="HV01102234" lcid="">TooltipInfo</a></td>
        <td>Specifies the string to be displayed in the ScreenTip for the data source in the data source catalog.</td>
      </tr>
    </table><h3>Attributes</h3><table>
      <tr>
        <th>Attribute</th>
        <th>Type</th>
        <th>Required</th>
        <th>Description</th>
        <th>Possible Values</th>
      </tr>
      <tr>
        <td>Type</td>
        <td>xsd:string</td>
        <td>required</td>
        <td>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).</td>
        <td>See external namespace.</td>
      </tr>
      <tr>
        <td>MinorVersion</td>
        <td>xsd:string</td>
        <td>required</td>
        <td>Defines the format version of the elements defined by this Type.</td>
        <td>See external namespace.</td>
      </tr>
      <tr>
        <td>MajorVersion</td>
        <td>xsd:string</td>
        <td>required</td>
        <td>Defines the format version of the elements defined by this Type.</td>
        <td>See external namespace.</td>
      </tr>
      <tr>
        <td>Type</td>
        <td>Anonymous</td>
        <td>required</td>
        <td>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).</td>
        <td><ul><li>SOAP</li><li>XMLFile</li><li>PartToPart</li></ul></td>
      </tr>
      <tr>
        <td>MajorVersion</td>
        <td>xsd:string</td>
        <td>required</td>
        <td>Defines the format version of the elements defined by this Type.</td>
        <td>See external namespace.</td>
      </tr>
      <tr>
        <td>MinorVersion</td>
        <td>xsd:string</td>
        <td>required</td>
        <td>Defines the format version of the elements defined by this Type.</td>
        <td>See external namespace.</td>
      </tr>
      <tr>
        <td>MinorVersion</td>
        <td>xsd:string</td>
        <td>required</td>
        <td>Defines the format version of the common UDC elements.</td>
        <td>See external namespace.</td>
      </tr>
      <tr>
        <td>MajorVersion</td>
        <td>xsd:string</td>
        <td>required</td>
        <td>Defines the format version of the common UDC elements.</td>
        <td>See external namespace.</td>
      </tr>
    </table><h2>Definition</h2><pre>
      <code>
<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>
</code>
    </pre><center><a href="XMLSchemaCopyright_HV01147162.htm">©2003-2004 Microsoft Corporation. All rights reserved.</a>  
Permission to copy, display and distribute this document is available at: <a 
href="http://r.office.microsoft.com/r/rlidAWSContentRedir?AssetID=XT010988631033&CTT=11&Origin=HV011232471033" 
target="_new">http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp</a></center></body></html> 
     |