Export (0) Print
Expand All

AdomdCommand Class

Represents a command to run against an analytical data source.

Object
  Microsoft.AnalysisServices.AdomdServer.AdomdCommand

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

[<SealedAttribute>]
type AdomdCommand =  
    class 
        interface IDisposable 
        interface IDbCommand 
        interface ICloneable 
    end

The AdomdCommand type exposes the following members.

  NameDescription
Public methodAdomdCommand()Initializes a new instance of the AdomdCommand class with default values.
Public methodAdomdCommand(String)Initializes a new instance of the AdomdCommand class with the text of the command.
Top

  NameDescription
Public propertyCommandTextGets or sets the command to run.
Public propertyCommandTimeoutGets or sets the time to wait for a command to run before the AdomdCommand stops trying to run the command and generates an error.
Public propertyCommandTypeGets or sets the CommandType used by the AdomdCommand.
Public propertyParametersGets an instance of an AdomdParameterCollection class that contains the parameters that the AdomdCommand uses to run the command.
Top

  NameDescription
Public method{dtor}Releases all resources used by the AdomdCommand.
Public methodCancelTries to cancel the command that the AdomdCommand is currently running.
Public methodCloneCreates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
Public methodCreateParameterReturns a newly created AdomdParameter.
Public methodDisposeReleases all resources used by the AdomdCommand.
Public methodEquals (Inherited from Object.)
Public methodExecuteNonQueryRuns the AdomdCommand without returning any results.
Public methodExecuteReader()Runs the AdomdCommand and returns an AdomdDataReader.
Public methodExecuteReader(CommandBehavior)Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.
Public methodExecuteScalarExecutes the statement and returns the first object of the first column.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodPrepareVerifies that the AdomdCommand can run.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneableCloneCreates a new object that is a copy of the current instance of this object.
Explicit interface implemetationPrivate methodIDbCommandCreateParameterCreates and returns a new instance of an IDbDataParameter object.
Explicit interface implemetationPrivate methodIDbCommandExecuteReader()Executes the CommandText against the Connection and builds an IDataReader.
Explicit interface implemetationPrivate methodIDbCommandExecuteReader(CommandBehavior)Executes the CommandText against the Connection and builds an IDataReader using one of the CommandBehavior values.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft