CommandCollection Class

 

Updated: May 24, 2016

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

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

System.Object
  Microsoft.AnalysisServices.CommandCollection

[GuidAttribute("96BAC2E7-D849-4146-8100-A7BF3C0A9617")]
public sealed class CommandCollection : IList, ICollection, IEnumerable

NameDescription
System_CAPS_pubmethodCommandCollection()

Initializes a new instance of the CommandCollection class.

System_CAPS_pubmethodCommandCollection(MdxScript)

Initializes a new instance of the CommandCollection object using an MdxScript object.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of Command objects contained in the collection.

System_CAPS_pubpropertyItem[Int32]

Gets the Command at the specified index from the collection.

NameDescription
System_CAPS_pubmethodAdd(Command)

Adds a Command to the end of the collection.

System_CAPS_pubmethodAddRange(ICollection)

Adds the elements of an ICollection to the end of the collection.

System_CAPS_pubmethodClear()

Removes all elements from the collection.

System_CAPS_pubmethodContains(Command)

Indicates whether the collection contains a specified Command.

System_CAPS_pubmethodCopyTo(Array, Int32)

Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Command)

Gets the index of a specified Command.

System_CAPS_pubmethodInsert(Int32, Command)

Inserts a Command into the collection at the specified index.

System_CAPS_pubmethodRemove(Command)

Removes the specified Command from the collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the Command at the specified index from the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Indicates whether the collection contains a specific value.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of a specific item in the collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of a specified object from the collection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

Gets a value that indicates whether access to the CommandCollection is synchronized.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

Gets an object that can be used to synchronize access to the CommandCollection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsFixedSize

Gets a value that indicates whether the collection has a fixed size.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.IsReadOnly

Gets a value that indicates whether this CommandCollection is read-only.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.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.

Return to top
Show: