Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataConnection element
Collapse the table of content
Expand the table of content

DataConnection element (DataConnections_Type complexType) ('Visio XML')

Office 2013

Last modified: January 09, 2014

Applies to: Office 2013 | Office 365 | Visio 2013

In this article
Element information
Definition
Elements and attributes

Abstracts communication between one or more DataRecordset elements and a non-XML data source.

Element type

DataConnection_Type

Namespace

http://schemas.microsoft.com/office/visio/2012/main

Schema file

VisioSchema15.xsd

Document parts

connections.xml

< xs:element name="DataConnection" type="DataConnection_Type" minOccurs="1" maxOccurs="unbounded" >
</xs:element >

If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.

Parent elements

Element

Type

Description

DataConnections

DataConnections_Type

Contains the DataConnection elements for the document.

Child elements

None.

Attributes

Attribute

Type

Required

Description

Possible values

AlwaysUseConnectionFile

xsd:boolean

optional

The default value is false. See Remarks for more information.

Values of the xsd:boolean type.

Command

xsd:string

optional

The command string used to query the data source.

Values of the xsd:string type.

ConnectionString

xsd:string

optional

The connection string that defines the parameters necessary to connect to a data source.

Values of the xsd:string type.

FileName

xsd:string

required

The name of the connection file. See Remarks for more information.

Values of the xsd:string type.

FriendlyName

xsd:string

optional

A user provided name for the data connection.

Values of the xsd:string type.

ID

xsd:unsignedInt

required

The ID assigned by Visio for a given connection, unique within the document.

Values of the xsd:unsignedInt type.

Timeout

xsd:unsignedInt

optional

The wait time in minutes while trying to establish a connection before terminating the attempt.

Values of the xsd:unsignedInt type.

Show:
© 2015 Microsoft