Freigeben über


AdomdConnection.IDbConnection.CreateCommand-Methode

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

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Private Function CreateCommand As IDbCommand 
    Implements IDbConnection.CreateCommand
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Rückgabewert

Typ: System.Data.IDbCommand
An IDbCommand object..

Implementiert

IDbConnection.CreateCommand()

Siehe auch

Verweis

AdomdConnection Klasse

Microsoft.AnalysisServices.AdomdClient-Namespace