# ConnectionInfo element

Contains information specific to a particular type of data connection.

## Usage

    <ConnectionInfo
    	Name="xsd:string"
    	Location="xsd:string"
    	Item="xsd:string"
    	DefaultValue="xsd:string"
    	Type="xsd:string"
    	DefaultValue="xsd:string"
    	Resource="xsd:string"
    	Name="xsd:string"
    	Location="xsd:string"
    	Item="xsd:string"
    	DefaultValue="xsd:string"
    	Encode="xsd:string"
    	Name="xsd:string"
    	ClientParameter="xsd:string"
    	Purpose="xsd:string"
    />

## Element Information

Element type | ConnectionInfoType
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
--- | ---
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:element name="ConnectionInfo" type="ConnectionInfoType" minOccurs="0" >
    </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