DBConnection Class |
Namespace: Spire.Xls
The DBConnection type exposes the following members.
Name | Description | |
---|---|---|
![]() |
DBConnection |
Initializes a new instance of the
DBConnection
class.
|
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
.)
|
Name | Description | |
---|---|---|
![]() |
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
![]() |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
![]() |
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
![]() |
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
![]() |
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|