AdomdCommand 클래스

Represents a command to be run against an analytical data source.

상속 계층

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.AdomdClient.AdomdCommand

네임스페이스:  Microsoft.AnalysisServices.AdomdClient
어셈블리:  Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)

구문

‘선언
Public NotInheritable Class AdomdCommand _
    Inherits Component _
    Implements IDbCommand, IDisposable, ICloneable
‘사용 방법
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

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.
공용 메서드 AdomdCommand(String, AdomdConnection) Initializes a new instance of the AdomdCommand class with the text of the command and an AdomdConnection.

맨 위로 이동

속성

  이름 설명
공용 속성 ActivityID
공용 속성 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 (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 (Component에서 상속됨)
공용 속성 UpdatedRowSource This member is reserved for future use.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Cancel Tries to cancel the execution of the AdomdCommand.
공용 메서드 Clone Creates and returns a new object that is a copy of the current AdomdCommand instance.
공용 메서드 CreateObjRef 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
공용 메서드 CreateParameter Returns a newly created AdomdParameter.
공용 메서드 Dispose (Component에서 상속됨)
공용 메서드 Equals (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 Executes the query, and returns the first column of the first row in the result set returned by the query.
공용 메서드 ExecuteXmlReader Runs the AdomdCommand and returns an System.Xml.XmlReader.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetLifetimeService 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 InitializeLifetimeService 보안에 중요합니다. (MarshalByRefObject에서 상속됨)
공용 메서드 Prepare Verifies that the AdomdCommand can run.
공용 메서드 ToString (Component에서 상속됨)

맨 위로 이동

이벤트

  이름 설명
공용 이벤트 Disposed (Component에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 ICloneable.Clone Creates a new object that is a copy of the current instance.
명시적 인터페이스 구현전용 속성 IDbCommand.Connection Gets or sets the AdomdConnection used by this instance of the AdomdCommand.
명시적 인터페이스 구현전용 메서드 IDbCommand.CreateParameter Creates 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 CommandBehaviour values.
명시적 인터페이스 구현전용 속성 IDbCommand.Parameters Gets the IDataParameterCollection.
명시적 인터페이스 구현전용 속성 IDbCommand.Transaction Gets or sets the transaction within which the command object runs.

맨 위로 이동

스레드 보안

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

참고 항목

참조

Microsoft.AnalysisServices.AdomdClient 네임스페이스