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 Executes the statement and returns the first object of the first column.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 Prepare Verifies that the AdomdCommand can run.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ICloneable.Clone Creates a new object that is a copy of the current instance of this object.
명시적 인터페이스 구현전용 메서드 IDbCommand.CreateParameter Creates and returns a new instance of an IDbDataParameter object.
명시적 인터페이스 구현전용 메서드 IDbCommand.ExecuteReader() Executes the CommandText against the Connection and builds an IDataReader.
명시적 인터페이스 구현전용 메서드 IDbCommand.ExecuteReader(CommandBehavior) Executes the CommandText against the Connection and builds an IDataReader using one of the CommandBehavior values.

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.AnalysisServices.AdomdServer 네임스페이스