共用方式為


Prepare 方法

Verifies that the AdomdCommand can run.

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public Sub Prepare
'用途
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()

實作

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

例外狀況

例外狀況 條件
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: