AdomdCommand Members
Represents a command to run against a analytical data source.
The following tables list the members exposed by the AdomdCommand type.
Public Constructors
名称 | Description | |
---|---|---|
AdomdCommand | Overloaded. Initializes a new instance of the AdomdCommand class. |
顶部
Public Properties
名称 | 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. |
顶部
Public Methods
(see also Protected Methods )
名称 | 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 | Overloaded. (inherited from Object ) | |
ExecuteNonQuery | Runs the AdomdCommand without returning any results. | |
ExecuteReader | Overloaded. Runs the AdomdCommand. | |
ExecuteScalar | This member is reserved for future use. | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Prepare | Verifies that the AdomdCommand can run. | |
ReferenceEquals | (inherited from Object ) | |
ToString | (inherited from Object ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
顶部
Explicit Interface Implementations
名称 | Description | |
---|---|---|
ICloneable.Clone | ||
IDbCommand.CreateParameter | ||
IDbCommand.ExecuteReader | Overloaded. |
顶部
请参阅
参考
AdomdCommand Class
Microsoft.AnalysisServices.AdomdServer Namespace