Clase AdomdCommand
Represents a command to be run against an analytical data source.
Jerarquía de herencia
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
Microsoft.AnalysisServices.AdomdClient..::..AdomdCommand
Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)
Sintaxis
'Declaración
Public NotInheritable Class AdomdCommand _
Inherits Component _
Implements IDbCommand, IDisposable, ICloneable
'Uso
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
El tipo AdomdCommand expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
AdomdCommand() () () () | Initializes a new instance of the AdomdCommand class with default values. | |
AdomdCommand(String) | Initializes a new instance of the AdomdCommand class with the text of the command. | |
AdomdCommand(String, AdomdConnection) | Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
CanRaiseEvents | (Se hereda de Component.) | |
CommandStream | Gets or sets the command to run, using a System.IO..::..Stream. | |
CommandText | Gets or sets the command to run. | |
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. | |
CommandType | Gets or sets the System.Data..::..CommandType used by the AdomdCommand. | |
Connection | Gets or sets the AdomdConnection that the AdomdCommand uses. | |
Container | (Se hereda de Component.) | |
DesignMode | (Se hereda de Component.) | |
Events | (Se hereda de Component.) | |
Parameters | Gets an instance of an AdomdParameterCollection class that contains the parameters used when running the AdomdCommand. | |
Properties | Gets an instance of an AdomdPropertyCollection class that contains the properties associated with the AdomdCommand. | |
Site | (Se hereda de Component.) | |
UpdatedRowSource | This member is reserved for future use. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Cancel | Tries to cancel the execution of the AdomdCommand. | |
Clone | Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand. | |
CreateObjRef | (Se hereda de MarshalByRefObject.) | |
CreateParameter | Returns a newly created AdomdParameter. | |
Dispose() () () () | (Se hereda de Component.) | |
Dispose(Boolean) | (Se hereda de Component.) | |
Equals | (Se hereda de Object.) | |
Execute | Runs the AdomdCommand, and returns either a CellSet or an AdomdDataReader. | |
ExecuteCellSet | Runs the AdomdCommand and returns a CellSet. | |
ExecuteNonQuery | Runs the AdomdCommand without returning any results. | |
ExecuteReader() () () () | Runs the AdomdCommand and returns an AdomdDataReader. | |
ExecuteReader(CommandBehavior) | Runs the AdomdCommand using the specified System.Data..::..CommandBehaviorenumeration value and returns an AdomdDataReader. | |
ExecuteScalar | This member is reserved for future use. | |
ExecuteXmlReader | Runs the AdomdCommand and returns an System.Xml..::..XmlReader. | |
Finalize | (Se hereda de Component.) | |
GetHashCode | (Se hereda de Object.) | |
GetLifetimeService | (Se hereda de MarshalByRefObject.) | |
GetService | (Se hereda de Component.) | |
GetType | (Se hereda de Object.) | |
InitializeLifetimeService | (Se hereda de MarshalByRefObject.) | |
MemberwiseClone() () () () | (Se hereda de Object.) | |
MemberwiseClone(Boolean) | (Se hereda de MarshalByRefObject.) | |
Prepare | Verifies that the AdomdCommand can run. | |
ToString | (Se hereda de Component.) |
Arriba
Implementaciones de interfaces explícitas
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.