IDbConnection.Close 方法

Closes the connection to the database.

命名空间:  Microsoft.ReportingServices.DataProcessing
程序集:   Microsoft.ReportingServices.Interfaces(在 Microsoft.ReportingServices.Interfaces.dll 中)
  Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.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.

请参阅

参考

IDbConnection 接口

Microsoft.ReportingServices.DataProcessing 命名空间