DataConnection
DataConnection class
Abstracts communication between one or more DataRecordset elements and a non-XML data source.
new DataConnection()
Constructor.
Methods
| Name | Description |
|---|---|
| getAlwaysUseConnectionFile() | The default value is false. See Remarks for more information. The value of the property is BOOL integer constant. |
| getCommand() | The command string used to query the data source. |
| getConnectionString() | The connection string that defines the parameters necessary to connect to a data source. |
| getFileName() | The name of the connection file. See Remarks for more information. |
| getID() | The ID assigned by Visio for a given connection, unique within the document. |
| getTimeout() | wait time in minutes while trying to establish a connection before terminating the attempt. |
| setAlwaysUseConnectionFile() | The default value is false. See Remarks for more information. The value of the property is BOOL integer constant. |
| setCommand() | The command string used to query the data source. |
| setConnectionString() | The connection string that defines the parameters necessary to connect to a data source. |
| setFileName() | The name of the connection file. See Remarks for more information. |
| setID() | The ID assigned by Visio for a given connection, unique within the document. |
| setTimeout() | wait time in minutes while trying to establish a connection before terminating the attempt. |
getAlwaysUseConnectionFile()
The default value is false. See Remarks for more information. The value of the property is BOOL integer constant.
getCommand()
The command string used to query the data source.
getConnectionString()
The connection string that defines the parameters necessary to connect to a data source.
getFileName()
The name of the connection file. See Remarks for more information.
getID()
The ID assigned by Visio for a given connection, unique within the document.
getTimeout()
wait time in minutes while trying to establish a connection before terminating the attempt.
setAlwaysUseConnectionFile()
The default value is false. See Remarks for more information. The value of the property is BOOL integer constant.
setCommand()
The command string used to query the data source.
setConnectionString()
The connection string that defines the parameters necessary to connect to a data source.
setFileName()
The name of the connection file. See Remarks for more information.
setID()
The ID assigned by Visio for a given connection, unique within the document.
setTimeout()
wait time in minutes while trying to establish a connection before terminating the attempt.