Share via


AdomdConnection.IDbConnection.CreateCommand Method

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 supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

Type: System.Data.IDbCommand
An IDbCommand object..

Implements

IDbConnection.CreateCommand()

See Also

Reference

AdomdConnection Class

Microsoft.AnalysisServices.AdomdClient Namespace