다음을 통해 공유


Close 메서드

Closes the connection to the database.

네임스페이스:  Microsoft.ReportingServices.DataProcessing
어셈블리:   Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  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.