DataConnection class

DataConnection class

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

The DataConnection type exposes the following members:

Constructors

ConstructorDescription
DataConnection()Constructor.

Properties

PropertyDescription
idThe ID assigned by Visio for a given connection, unique within the document.
file_nameThe name of the connection file. See Remarks for more information.
connection_stringThe connection string that defines the parameters necessary to connect to a data source.
commandThe command string used to query the data source.
timeoutwait time in minutes while trying to establish a connection before terminating the attempt.
always_use_connection_fileThe default value is false. See Remarks for more information.

See Also