DataConnection
Contents
[
Hide
]DataConnection class
Abstracts communication between one or more DataRecordset elements and a non-XML data source.
Constructors
| Name | Description |
|---|---|
| DataConnection | Constructor. |
Properties
| Name | Type | Description |
|---|---|---|
| ID | long | The ID assigned by Visio for a given connection, unique within the document. |
| FileName | String | The name of the connection file. See Remarks for more information. |
| ConnectionString | String | The connection string that defines the parameters necessary to connect to a data source. |
| Command | String | The command string used to query the data source. |
| Timeout | long | wait time in minutes while trying to establish a connection before terminating the attempt. |
| AlwaysUseConnectionFile | int | The default value is false. See Remarks for more information. The value of the property is BOOL integer constant. |
DataConnection()
Constructor.
DataConnection.ID property
The ID assigned by Visio for a given connection, unique within the document.
Type: long
DataConnection.FileName property
The name of the connection file. See Remarks for more information.
Type: String
DataConnection.ConnectionString property
The connection string that defines the parameters necessary to connect to a data source.
Type: String
DataConnection.Command property
The command string used to query the data source.
Type: String
DataConnection.Timeout property
wait time in minutes while trying to establish a connection before terminating the attempt.
Type: long
DataConnection.AlwaysUseConnectionFile property
The default value is false. See Remarks for more information. The value of the property is BOOL integer constant.
Type: int