DataConnection

DataConnection class

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

DataConnection()

Constructor.

Properties

NameTypeDescription
IDlongThe ID assigned by Visio for a given connection, unique within the document.
FileNameStringThe name of the connection file. See Remarks for more information.
ConnectionStringStringThe connection string that defines the parameters necessary to connect to a data source.
CommandStringThe command string used to query the data source.
Timeoutlongwait time in minutes while trying to establish a connection before terminating the attempt.
AlwaysUseConnectionFileintThe default value is false. See Remarks for more information. The value of the property is BOOL integer constant.