Share via


AdomdCommand.Prepare Method

Verifies that the AdomdCommand can run.

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public Sub Prepare
'Usage
Dim instance As AdomdCommand

instance.Prepare()
public void Prepare()
public:
virtual void Prepare() sealed
abstract Prepare : unit -> unit 
override Prepare : unit -> unit 
public final function Prepare()

Implements

IDbCommand.Prepare()

Exceptions

Exception Condition
AdomdErrorResponseException

The provider returned an error in response.

AdomdUnknownResponseException

The provider sent an unrecognizable response.

System.InvalidOperationException

The CommandText property was improperly set.