AdomdCommand-Klasse

Represents a command to be run against an analytical data source.

Vererbungshierarchie

System. . :: . .Object
  System. . :: . .MarshalByRefObject
    System.ComponentModel. . :: . .Component
      Microsoft.AnalysisServices.AdomdClient..::..AdomdCommand

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public NotInheritable Class AdomdCommand _
    Inherits Component _
    Implements IDbCommand, IDisposable, ICloneable
'Usage
Dim instance As AdomdCommand
public sealed class AdomdCommand : Component, 
    IDbCommand, IDisposable, ICloneable
public ref class AdomdCommand sealed : public Component, 
    IDbCommand, IDisposable, ICloneable
[<SealedAttribute>]
type AdomdCommand =  
    class
        inherit Component
        interface IDbCommand
        interface IDisposable
        interface ICloneable
    end
public final class AdomdCommand extends Component implements IDbCommand, IDisposable, 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.
Öffentliche Methode AdomdCommand(String, AdomdConnection) Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.

Zum Anfang

Eigenschaften

  Name Beschreibung
Geschützte Eigenschaft CanRaiseEvents (Geerbt von Component.)
Öffentliche Eigenschaft CommandStream Gets or sets the command to run, using a System.IO..::..Stream.
Ö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 Connection Gets or sets the AdomdConnection that the AdomdCommand uses.
Öffentliche Eigenschaft Container (Geerbt von Component.)
Geschützte Eigenschaft DesignMode (Geerbt von Component.)
Geschützte Eigenschaft Events (Geerbt von Component.)
Öffentliche Eigenschaft Parameters Gets an instance of an AdomdParameterCollection class that contains the parameters used when running the AdomdCommand.
Öffentliche Eigenschaft Properties Gets an instance of an AdomdPropertyCollection class that contains the properties associated with the AdomdCommand.
Öffentliche Eigenschaft Site (Geerbt von Component.)
Öffentliche Eigenschaft UpdatedRowSource This member is reserved for future use.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Cancel Tries to cancel the execution of the AdomdCommand.
Öffentliche Methode Clone Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand.
Öffentliche Methode CreateObjRef (Geerbt von MarshalByRefObject.)
Öffentliche Methode CreateParameter Returns a newly created AdomdParameter.
Öffentliche Methode Dispose() () () () (Geerbt von Component.)
Geschützte Methode Dispose(Boolean) (Geerbt von Component.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode Execute Runs the AdomdCommand, and returns either a CellSet or an AdomdDataReader.
Öffentliche Methode ExecuteCellSet Runs the AdomdCommand and returns a CellSet.
Ö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 System.Data..::..CommandBehaviorenumeration value and returns an AdomdDataReader.
Öffentliche Methode ExecuteScalar This member is reserved for future use.
Öffentliche Methode ExecuteXmlReader Runs the AdomdCommand and returns an System.Xml..::..XmlReader.
Geschützte Methode Finalize (Geerbt von Component.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLifetimeService (Geerbt von MarshalByRefObject.)
Geschützte Methode GetService (Geerbt von Component.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode InitializeLifetimeService (Geerbt von MarshalByRefObject.)
Geschützte Methode MemberwiseClone() () () () (Geerbt von Object.)
Geschützte Methode MemberwiseClone(Boolean) (Geerbt von MarshalByRefObject.)
Öffentliche Methode Prepare Verifies that the AdomdCommand can run.
Öffentliche Methode ToString (Geerbt von Component.)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis Disposed (Geerbt von Component.)

Zum Anfang

Threadsicherheit

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