Classe AdomdCommand
Represents a command to run against a analytical data source.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.AnalysisServices.AdomdServer..::..AdomdCommand
Espace de noms : Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (en msmgdsrv.dll)
Syntaxe
'Déclaration
Public NotInheritable Class AdomdCommand _
Implements IDisposable, IDbCommand, ICloneable
'Utilisation
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
Le type AdomdCommand expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
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. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
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. | |
Parameters | Gets an instance of an AdomdParameterCollection class that contains the parameters that the AdomdCommand uses to run the command. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
{dtor} | Releases all resources used by the AdomdCommand. | |
Cancel | Tries to cancel the command that the AdomdCommand is currently running. | |
Clone | Creates and returns an instance of an AdomdCommand class based on the current AdomdCommand. | |
CreateParameter | Returns a newly created AdomdParameter. | |
Dispose | Releases all resources used by the AdomdCommand. | |
Equals | (hérité de Object.) | |
ExecuteNonQuery | Runs the AdomdCommand without returning any results. | |
ExecuteReader() () () () | Runs the AdomdCommand and returns an AdomdDataReader. | |
ExecuteReader(CommandBehavior) | Runs the AdomdCommand using the specified CommandBehavior enumeration value and returns an AdomdDataReader. | |
ExecuteScalar | This member is reserved for future use. | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
Prepare | Verifies that the AdomdCommand can run. | |
ToString | (hérité de Object.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
ICloneable. . :: . .Clone | ||
IDbCommand. . :: . .CreateParameter | ||
IDbCommand. . :: . .ExecuteReader() () () () | ||
IDbCommand. . :: . .ExecuteReader(CommandBehavior) |
Haut de la page
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.