CommandCollection Class
Updated: May 24, 2016
Contains a collection of Command objects. This class cannot be inherited.
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
| Name | Description | |
|---|---|---|
![]() | CommandCollection() | Initializes a new instance of the CommandCollection class. |
![]() | CommandCollection(MdxScript^) | Initializes a new instance of the CommandCollection object using an MdxScript object. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of Command objects contained in the collection. |
![]() | Item[Int32] | Gets the Command at the specified index from the collection. |
| Name | Description | |
|---|---|---|
![]() | Add(Command^) | Adds a Command to the end of the collection. |
![]() | AddRange(ICollection^) | Adds the elements of an ICollection to the end of the collection. |
![]() | Clear() | Removes all elements from the collection. |
![]() | Contains(Command^) | Indicates whether the collection contains a specified Command. |
![]() | CopyTo(Array^, Int32) | Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(Command^) | Gets the index of a specified Command. |
![]() | Insert(Int32, Command^) | Inserts a Command into the collection at the specified index. |
![]() | Remove(Command^) | Removes the specified Command from the collection. |
![]() | RemoveAt(Int32) | Removes the Command at the specified index from the collection. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that iterates through a collection. |
![]() ![]() | IList::Add(Object^) | Adds an item to the collection. |
![]() ![]() | IList::Contains(Object^) | Indicates whether the collection contains a specific value. |
![]() ![]() | IList::IndexOf(Object^) | Determines the index of a specific item in the collection. |
![]() ![]() | IList::Insert(Int32, Object^) | Inserts an item to the collection at the specified index. |
![]() ![]() | IList::Remove(Object^) | Removes the first occurrence of a specified object from the collection. |
![]() ![]() | ICollection::IsSynchronized | Gets a value that indicates whether access to the CommandCollection is synchronized. |
![]() ![]() | ICollection::SyncRoot | Gets an object that can be used to synchronize access to the CommandCollection. |
![]() ![]() | 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. |
![]() ![]() | IList::Item[Int32] | Gets or sets the element at the specified index. |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




