# ConnectionInfoType complexType

Contains information specific to a particular type of data connection.

## Type Information

Namespace | http://schemas.microsoft.com/data/udc
Schema name | Universal Data Connection

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
ClientParameterBindings | Contains parameters that provide a way for the client processing the UDC to perform text replacement anywhere within the ConnectionInfo section.
ClientParameterBinding | Does not apply to Excel data connections.
CredentialBinding | Contains information necessary to prompt the user for credentials and resolve any associated CredentialValue elements in the ConnectionInfo section.
Credential | Contains the details of a particular set of credentials.
Attribute | Does not apply to Excel data connections.
ClientParameterBinding | Does not apply to Excel data connections.
If | Does not apply to Excel data connections.
udcs:Location | See external namespace.
udcs:Authentication | See external namespace.
udcs:SOAPAction | See external namespace.
soap-env:Header | See external namespace.
soap-env:Body | See external namespace.
udcxf:File | See external namespace.
ClientParameterValue | Does not apply to Excel data connections.
ClientParameterValue | Does not apply to Excel data connections.
CredentialValue | Contains information necessary to prompt the user for credentials and resolve any associated CredentialValue elements in the ConnectionInfo section.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
Name | xsd:string | required | Does not apply to Excel data connections. | See external namespace.
Location | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Item | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
DefaultValue | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Type | xsd:string | optional | Specifies the type for a particular set of credentials. This attribute and the Resource attribute are used to match a CredentialBinding element with a CredentialValue element. | See external namespace.
DefaultValue | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Resource | xsd:string | required | Specifies a string that represents the resource to be used with a particular set of credentials. This attribute and the Type attribute are used to match a CredentialBinding element with a CredentialValue element. | See external namespace.
Name | xsd:string | required | Does not apply to Excel data connections. | See external namespace.
Location | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Item | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
DefaultValue | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Encode | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Name | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
ClientParameter | xsd:string | optional | Does not apply to Excel data connections. | See external namespace.
Purpose | xsd:string | required | Contains a string that is used to distinguish multiple ConnectionInfo elements. | See external namespace.

## Definition

    <xsd:complexType name="ConnectionInfoType" >
      <xsd:sequence>
        <xsd:choice minOccurs="0">
          <xsd:sequence minOccurs="0">
            <xsd:element ref="udcs:Location" />
            <xsd:element ref="udcs:Authentication" minOccurs="0" />
            <xsd:element ref="udcs:SOAPAction" />
            <xsd:element ref="soap-env:Header" />
            <xsd:element ref="soap-env:Body" minOccurs="0" />
          </xsd:sequence>
          <xsd:element ref="udcxf:File" minOccurs="0" />
        </xsd:choice>
        <xsd:element name="ClientParameterBindings" minOccurs="0">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="ClientParameterBinding" minOccurs="0">
                <xsd:complexType>
                  <xsd:attribute name="Name" type="xsd:string" use="required">
                  </xsd:attribute>
                  <xsd:attribute name="Location" type="xsd:string" use="optional">
                  </xsd:attribute>
                  <xsd:attribute name="Item" type="xsd:string" use="optional">
                  </xsd:attribute>
                  <xsd:attribute name="DefaultValue" type="xsd:string" use="optional">
                  </xsd:attribute>
                </xsd:complexType>
              </xsd:element>
              <xsd:element name="CredentialBinding" minOccurs="0">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="Credential" minOccurs="0" maxOccurs="unbounded">
                      <xsd:complexType>
                        <xsd:attribute name="Type" type="xsd:string" use="optional">
                        </xsd:attribute>
                        <xsd:attribute name="DefaultValue" type="xsd:string" use="optional">
                        </xsd:attribute>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                  <xsd:attribute name="Resource" type="xsd:string" use="required">
                  </xsd:attribute>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
        <xsd:element ref="ClientParameterValue" minOccurs="0" />
        <xsd:element name="Attribute" minOccurs="0">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element name="ClientParameterBinding">
                <xsd:complexType>
                  <xsd:attribute name="Name" type="xsd:string" use="required">
                  </xsd:attribute>
                  <xsd:attribute name="Location" type="xsd:string" use="optional">
                  </xsd:attribute>
                  <xsd:attribute name="Item" type="xsd:string" use="optional">
                  </xsd:attribute>
                  <xsd:attribute name="DefaultValue" type="xsd:string" use="optional">
                  </xsd:attribute>
                  <xsd:attribute name="Encode" type="xsd:string" use="optional">
                  </xsd:attribute>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
            <xsd:attribute name="Name" type="xsd:string">
            </xsd:attribute>
          </xsd:complexType>
        </xsd:element>
        <xsd:element name="If" minOccurs="0">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:element ref="ClientParameterValue" />
            </xsd:sequence>
            <xsd:attribute name="ClientParameter" type="xsd:string">
            </xsd:attribute>
          </xsd:complexType>
        </xsd:element>
        <xsd:element ref="CredentialValue" minOccurs="0" />
      </xsd:sequence>
      <xsd:attribute name="Purpose" type="xsd:string" use="required">
      </xsd:attribute>
    </xsd:complexType>

©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