CommandCollection 클래스

Contains a collection of Command objects. This class cannot be inherited.

상속 계층

System.Object
  Microsoft.AnalysisServices.CommandCollection

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

구문

‘선언
<GuidAttribute("96BAC2E7-D849-4146-8100-A7BF3C0A9617")> _
Public NotInheritable Class CommandCollection _
    Implements IList, ICollection, IEnumerable
‘사용 방법
Dim instance As CommandCollection
[GuidAttribute("96BAC2E7-D849-4146-8100-A7BF3C0A9617")]
public sealed class CommandCollection : IList, 
    ICollection, IEnumerable
[GuidAttribute(L"96BAC2E7-D849-4146-8100-A7BF3C0A9617")]
public ref class CommandCollection sealed : IList, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<GuidAttribute("96BAC2E7-D849-4146-8100-A7BF3C0A9617")>]
type CommandCollection =  
    class 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class CommandCollection implements IList, ICollection, IEnumerable

CommandCollection 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 CommandCollection() Initializes a new instance of the CommandCollection class.
공용 메서드 CommandCollection(MdxScript)

맨 위로 이동

속성

  이름 설명
공용 속성 Count Gets the number of Command objects contained in the collection.
공용 속성 Item Gets the Command at the specified index from the collection.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add Adds a Command to the end of the collection.
공용 메서드 AddRange Adds the elements of an ICollection to the end of the collection.
공용 메서드 Clear Removes all elements from the collection.
공용 메서드 Contains Indicates whether the collection contains a specified Command.
공용 메서드 CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IndexOf Gets the index of a specified Command.
공용 메서드 Insert Inserts a Command into the collection at the specified index.
공용 메서드 Remove Removes the specified Command from the collection.
공용 메서드 RemoveAt Removes the Command at the specified index from the collection.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 IList.Add Adds an item to the collection.
명시적 인터페이스 구현전용 메서드 IList.Contains Indicates whether the collection contains a specific value.
명시적 인터페이스 구현전용 메서드 IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
명시적 인터페이스 구현전용 메서드 IList.IndexOf Determines the index of a specific item in the collection.
명시적 인터페이스 구현전용 메서드 IList.Insert Inserts an item to the collection at the specified index.
명시적 인터페이스 구현전용 속성 IList.IsFixedSize Gets a value that indicates whether the collection has a fixed size.
명시적 인터페이스 구현전용 속성 IList.IsReadOnly Gets a value that indicates whether this CommandCollection is read-only.
명시적 인터페이스 구현전용 속성 ICollection.IsSynchronized Gets a value that indicates whether access to the CommandCollection is synchronized.
명시적 인터페이스 구현전용 속성 IList.Item Gets or sets the element at the specified index.
명시적 인터페이스 구현전용 메서드 IList.Remove Removes the first occurrence of a specified object from the collection.
명시적 인터페이스 구현전용 속성 ICollection.SyncRoot Gets an object that can be used to synchronize access to the CommandCollection.

맨 위로 이동

스레드 보안

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

참고 항목

참조

Microsoft.AnalysisServices 네임스페이스