Close 方法
Closes the connection to the database.
命名空間: Microsoft.ReportingServices.DataProcessing
組件: Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)
語法
'宣告
Sub Close
'用途
Dim instance As IDbConnection
instance.Close()
void Close()
void Close()
abstract Close : unit -> unit
function Close()
備註
The Close method rolls back any pending transactions. It then releases the connection to the connection pool, or closes the connection if connection pooling is disabled.
An application can call Close more than one time without generating an exception.