DataConnection Object Members
Visio Automation Reference |
Abstracts communication between one or more DataRecordset objects and a non-XML data source.
Properties
Name | Description | |
---|---|---|
Application | Returns the instance of Microsoft Office Visio associated with a DataConnection object. Read-only. | |
ConnectionString | Gets or sets the connection string that you can use to access an existing DataConnection object or to create a new DataConnection object. Read/write. | |
Document | Gets the Document object that contains the DataConnection object. Read-only. | |
FileName | Gets the name of the Office Data Connection (ODC) file that contains the connection string and query command string for the data connection. Read-only. | |
ID | Gets the unique identifier of the DataConnection object assigned by Visio. Read-only. | |
ObjectType | Returns visObjTypeDataConnection, the type of a DataConnection object. Read-only. | |
Stat | Returns status information for an object. Read-only. | |
Timeout | Gets or sets how long (in seconds) to attempt to establish a data connection before terminating the attempt and generating an error. Read/write. |