Share via


DataConnection Object Members

Visio Automation Reference

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

Properties

  Name Description
Aa342238.properties(en-us,office.12).gif Application Returns the instance of Microsoft Office Visio associated with a DataConnection object. Read-only.
Aa342238.properties(en-us,office.12).gif 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.
Aa342238.properties(en-us,office.12).gif Document Gets the Document object that contains the DataConnection object. Read-only.
Aa342238.properties(en-us,office.12).gif 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.
Aa342238.properties(en-us,office.12).gif ID Gets the unique identifier of the DataConnection object assigned by Visio. Read-only.
Aa342238.properties(en-us,office.12).gif ObjectType Returns visObjTypeDataConnection, the type of a DataConnection object. Read-only.
Aa342238.properties(en-us,office.12).gif Stat Returns status information for an object. Read-only.
Aa342238.properties(en-us,office.12).gif 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.