Freigeben über


AdomdCommand-Klasse

Represents a command to run against a analytical data source.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..AdomdCommand

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

Syntax

'Declaration
Public NotInheritable Class AdomdCommand _
    Implements IDisposable, IDbCommand, ICloneable
'Usage
Dim instance As AdomdCommand
public sealed class AdomdCommand : IDisposable, 
    IDbCommand, ICloneable
public ref class AdomdCommand sealed : IDisposable, 
    IDbCommand, ICloneable
[<SealedAttribute>]
type AdomdCommand =  
    class
        interface IDisposable
        interface IDbCommand
        interface ICloneable
    end
public final class AdomdCommand implements IDisposable, IDbCommand, ICloneable

Der AdomdCommand-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode AdomdCommand() () () () Initializes a new instance of the AdomdCommand class with default values.
Öffentliche Methode AdomdCommand(String) Initializes a new instance of the AdomdCommand class with the text of the command.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft CommandText Gets or sets the command to run.
Öffentliche Eigenschaft CommandTimeout Gets or sets the time to wait for a command to run before the AdomdCommand stops trying to run the command and generates an error.
Öffentliche Eigenschaft CommandType Gets or sets the System.Data..::..CommandType used by the AdomdCommand.
Öffentliche Eigenschaft Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters that the AdomdCommand uses to run the command.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode {dtor} Releases all resources used by the AdomdCommand.
Öffentliche Methode Cancel Tries to cancel the command that the AdomdCommand is currently running.
Öffentliche Methode Clone Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
Öffentliche Methode CreateParameter Returns a newly created AdomdParameter.
Öffentliche Methode Dispose Releases all resources used by the AdomdCommand.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode ExecuteNonQuery Runs the AdomdCommand without returning any results.
Öffentliche Methode ExecuteReader() () () () Runs the AdomdCommand and returns an AdomdDataReader.
Öffentliche Methode ExecuteReader(CommandBehavior) Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader.
Öffentliche Methode ExecuteScalar This member is reserved for future use.
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Prepare Verifies that the AdomdCommand can run.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.