다음을 통해 공유


AdomdCommand.IDbCommand.Connection 속성

Gets or sets the AdomdConnection used by this instance of the AdomdCommand.

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Private Property Connection As IDbConnection 
    Implements IDbCommand.Connection 
    Get 
    Set
‘사용 방법
Dim instance As AdomdCommand 
Dim value As IDbConnection 

value = CType(instance, IDbCommand).Connection 

CType(instance, IDbCommand).Connection = value
IDbConnection IDbCommand.Connection { get; set; }
private:
virtual property IDbConnection^ Connection {
    IDbConnection^ get () sealed = IDbCommand::Connection::get;
    void set (IDbConnection^ value) sealed = IDbCommand::Connection::set;
}
private abstract Connection : IDbConnection with get, set 
private override Connection : IDbConnection with get, set
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

속성 값

유형: System.Data.IDbConnection
An AdomdConnection, or a nullnull 참조(Visual Basic에서는 Nothing) value if no AdomdConnection is associated with the AdomdCommand.

구현

IDbCommand.Connection

참고 항목

참조

AdomdCommand 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스