DBConnection Properties |
The DBConnection type exposes the following members.
Name | Description | |
---|---|---|
![]() |
BackgroundRefresh |
Gets or sets a value indicating whether background refresh is enabled.
When the value is set, it also marks the connection converter as changed.
(Overrides
ExternalConnection
BackgroundRefresh
.)
|
![]() |
Command |
Gets or sets the command associated with the connection converter.
When the value is set, it updates the internal command and marks the converter as changed.
|
![]() |
CommandType |
Gets or sets the command type for the OLEDB command.
|
![]() |
Connection |
Gets or sets the database connection string.
When setting the value, it also marks the connection as changed.
|
![]() |
ConnType |
Gets the connection data source type based on the value of connConvert.conntype.
(Overrides
ExternalConnection
ConnType
.)
|
![]() |
ID |
Gets the ID of the connection.
(Overrides
ExternalConnection
ID
.)
|
![]() |
KeepAlive |
Gets or sets a value indicating whether to keep the connection alive.
When set, it updates the corresponding property in the connConvert object and marks it as changed.
(Overrides
ExternalConnection
KeepAlive
.)
|
![]() |
Name |
Gets or sets the name of the connection.
When setting the name, it also marks the connection as changed.
(Overrides
ExternalConnection
Name
.)
|
![]() |
OdcFile |
Gets or sets the ODC file path associated with the connection.
Setting this value marks the connection as changed.
(Overrides
ExternalConnection
OdcFile
.)
|
![]() |
OnlyUseConnectionFile |
Gets or sets a value indicating whether to use the connection file only.
When the value is set, it also marks the connection converter as changed.
(Overrides
ExternalConnection
OnlyUseConnectionFile
.)
|
![]() |
RefreshedVersion |
Gets or sets the refreshed version of the connection.
When setting the value, it also marks the connection as changed.
(Overrides
ExternalConnection
RefreshedVersion
.)
|
![]() |
SaveData |
Gets or sets the save data flag.
When setting the value, it also sets the ischanged flag to true.
(Overrides
ExternalConnection
SaveData
.)
|