다음을 통해 공유


AdomdConnection.IDbConnection.CreateCommand 메서드

Creates a new AdomdCommand associated with this connection and returns its IDbCommand object.

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

구문

‘선언
Private Function CreateCommand As IDbCommand 
    Implements IDbConnection.CreateCommand
‘사용 방법
Dim instance As AdomdConnection 
Dim returnValue As IDbCommand 

returnValue = CType(instance, IDbConnection).CreateCommand()
IDbCommand IDbConnection.CreateCommand()
private:
virtual IDbCommand^ CreateCommand() sealed = IDbConnection::CreateCommand
private abstract CreateCommand : unit -> IDbCommand  
private override CreateCommand : unit -> IDbCommand
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

반환 값

유형: System.Data.IDbCommand
An IDbCommand object..

구현

IDbConnection.CreateCommand()

참고 항목

참조

AdomdConnection 클래스

Microsoft.AnalysisServices.AdomdClient 네임스페이스