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

Constructor Description
DataConnection() Constructor.

Properties

Property Description
id The ID assigned by Visio for a given connection, unique within the document.
file_name The name of the connection file. See Remarks for more information.
connection_string The connection string that defines the parameters necessary to connect to a data source.
command The command string used to query the data source.
timeout wait time in minutes while trying to establish a connection before terminating the attempt.
always_use_connection_file The default value is false. See Remarks for more information.

See Also