Share via


AdomdCommand.Cancel Method

Tries to cancel the command that the AdomdCommand is currently running.

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

Syntax

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

Remarks

If AdomdCommand is not running a command at the time that the Cancel method is called, nothing happens.

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