Export (0) Print
Expand All

CommandCollection Class

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

Object
  Microsoft.AnalysisServices.CommandCollection

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

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

The CommandCollection type exposes the following members.

  NameDescription
Public methodCommandCollection()Initializes a new instance of the CommandCollection class.
Public methodCommandCollection(MdxScript)Initializes a new instance of the CommandCollection object using an MdxScript object.
Top

  NameDescription
Public propertyCountGets the number of Command objects contained in the collection.
Public propertyItemGets the Command at the specified index from the collection.
Top

  NameDescription
Public methodAddAdds a Command to the end of the collection.
Public methodAddRangeAdds the elements of an ICollection to the end of the collection.
Public methodClearRemoves all elements from the collection.
Public methodContainsIndicates whether the collection contains a specified Command.
Public methodCopyToCopies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIndexOfGets the index of a specified Command.
Public methodInsertInserts a Command into the collection at the specified index.
Public methodRemoveRemoves the specified Command from the collection.
Public methodRemoveAtRemoves the Command at the specified index from the collection.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIListAddAdds an item to the collection.
Explicit interface implemetationPrivate methodIListContainsIndicates whether the collection contains a specific value.
Explicit interface implemetationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate methodIListIndexOfDetermines the index of a specific item in the collection.
Explicit interface implemetationPrivate methodIListInsertInserts an item to the collection at the specified index.
Explicit interface implemetationPrivate propertyIListIsFixedSizeGets a value that indicates whether the collection has a fixed size.
Explicit interface implemetationPrivate propertyIListIsReadOnlyGets a value that indicates whether this CommandCollection is read-only.
Explicit interface implemetationPrivate propertyICollectionIsSynchronizedGets a value that indicates whether access to the CommandCollection is synchronized.
Explicit interface implemetationPrivate propertyIListItemGets or sets the element at the specified index.
Explicit interface implemetationPrivate methodIListRemoveRemoves the first occurrence of a specified object from the collection.
Explicit interface implemetationPrivate propertyICollectionSyncRootGets an object that can be used to synchronize access to the CommandCollection.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft