다음을 통해 공유


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 네임스페이스