AdomdCommand.Prepare Method

Verifies that the AdomdCommand can run.

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

Syntax

'Declaration
Public Sub Prepare
public void Prepare ()
public:
virtual void Prepare () sealed
public final void Prepare ()
public final function Prepare ()

Exceptions

Exception type Condition
AdomdErrorResponseException

The provider returned an error in response.

AdomdUnknownResponseException

The provider sent an unrecognizable response.

System.InvalidOperationException

The CommandText property was improperly set.

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

AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdServer Namespace