Metodo Prepare

Verifies that the AdomdCommand can run.

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public Sub Prepare
'Utilizzo
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()

Implementa

IDbCommand. . :: . .Prepare() () () ()

Eccezioni

Eccezione Condizione
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: