Sdílet prostřednictvím


Command Class

Represents a command that is available for use within the context of the parent element of the CommandCollection.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.Command

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<GuidAttribute("F6506EF5-FBD7-4237-85D3-E3E66B1CAD9D")> _
Public NotInheritable Class Command _
    Implements ICloneable
'Usage
Dim instance As Command
[GuidAttribute("F6506EF5-FBD7-4237-85D3-E3E66B1CAD9D")]
public sealed class Command : ICloneable
[GuidAttribute(L"F6506EF5-FBD7-4237-85D3-E3E66B1CAD9D")]
public ref class Command sealed : ICloneable
[<SealedAttribute>]
[<GuidAttribute("F6506EF5-FBD7-4237-85D3-E3E66B1CAD9D")>]
type Command =  
    class 
        interface ICloneable 
    end
public final class Command implements ICloneable

The Command type exposes the following members.

Constructors

  Name Description
Public method Command() Initializes a new instance of Command using the default values.
Public method Command(String) Initializes a new instance of the Command class using a name.

Top

Properties

  Name Description
Public property Annotations
Public property Text Gets or sets a command text for a batch.

Top

Methods

  Name Description
Public method Clone Creates a new, full copy of an object.
Public method CopyTo Copies a Command to the specified object.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneable.Clone Creates a new, full copy of an object.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AnalysisServices Namespace