AdomdCommand 類別
Represents a command to run against a analytical data source.
繼承階層
System. . :: . .Object
Microsoft.AnalysisServices.AdomdServer..::..AdomdCommand
命名空間: Microsoft.AnalysisServices.AdomdServer
組件: msmgdsrv (在 msmgdsrv.dll 中)
語法
'宣告
Public NotInheritable Class AdomdCommand _
Implements IDisposable, IDbCommand, ICloneable
'用途
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
AdomdCommand 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
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. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
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. |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
{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 | (繼承自 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 | (繼承自 Object。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetType | (繼承自 Object。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
Prepare | Verifies that the AdomdCommand can run. |
![]() |
ToString | (繼承自 Object。) |
上層
明確 繼承 實作
名稱 | 說明 | |
---|---|---|
![]() ![]() |
ICloneable. . :: . .Clone | |
![]() ![]() |
IDbCommand. . :: . .CreateParameter | |
![]() ![]() |
IDbCommand. . :: . .ExecuteReader() () () () | |
![]() ![]() |
IDbCommand. . :: . .ExecuteReader(CommandBehavior) |
上層
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。