CommandCollection Class
TOC
Collapse the table of content
Expand the table of content

CommandCollection Class

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

System.Object
  Microsoft.AnalysisServices.CommandCollection

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

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

The CommandCollection type exposes the following members.

  NameDescription
Public methodCommandCollectionInitializes a new instance of Command.
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.)
Protected methodFinalize (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.
Protected methodMemberwiseClone (Inherited from Object.)
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

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:
© 2016 Microsoft