DataConnection element (DataConnections_Type complexType) (Visio XML)
Abstracts communication between one or more DataRecordset elements and a non-XML data source.
Element information
Value | |
---|---|
Element type |
DataConnection_Type |
Namespace |
http://schemas.microsoft.com/office/visio/2012/main |
Schema file |
VisioSchema15.xsd |
Document parts |
connections.xml |
Definition
< xs:element name="DataConnection" type="DataConnection_Type" minOccurs="1" maxOccurs="unbounded" >
</xs:element >
Elements and attributes
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. |