Share via


AdomdCommand.Prepare Method

Verifies that the AdomdCommand can run.

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.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.

AdomdConnectionException

The connection was broken.

System.InvalidOperationException

An error occurred because one of the following conditions was met: