Jaa


AdomdConnection.CreateCommand Method

Creates and returns an AdomdCommand that is associated with the AdomdConnection.

Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntax

'Declaration
Public Function CreateCommand As AdomdCommand
public AdomdCommand CreateCommand ()
public:
AdomdCommand^ CreateCommand ()
public AdomdCommand CreateCommand ()
public function CreateCommand () : AdomdCommand

Return Value

An AdomdCommand that is associated with the connection.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace