AdomdRestrictionCollection Members

Include Protected Members
Include Inherited Members

Gets a collection of AdomdRestriction objects.

The AdomdRestrictionCollection type exposes the following members.

Constructors

  Name Description
Public method AdomdRestrictionCollection() Initializes a new instance of the AdomdRestrictionCollection class.

Top

Methods

  Name Description
Public method Add(AdomdRestriction) Adds an AdomdRestriction to the collection.
Public method Add(String, Object) Creates a new AdomdRestriction with the specified property name and value.
Public method Add(String, String, Object) Creates a new AdomdRestriction with the specified property name, namespace, and value.
Public method Clear() Removes all restrictions from the AdomdRestrictionCollection.
Public method Contains(AdomdRestriction) Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.
Public method CopyTo(array<AdomdRestriction[], Int32) Copies the elements of the AdomdRestrictionCollection collection to the specified array.
Public method CreateObjRef(Type) (Inherited from MarshalByRefObject.)
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method Find(String) Gets the specified AdomdRestriction from the collection by its name.
Public method Find(String, String) Gets the specified AdomdRestriction from the collection by its name and namespace.
Public method GetEnumerator() Gets an instance of the AdomdRestrictionCollection.Enumerator class for iterating through the collection.
Public method GetHashCode() (Inherited from Object.)
Public method GetLifetimeService() (Inherited from MarshalByRefObject.)
Public method GetType() (Inherited from Object.)
Public method IndexOf(AdomdRestriction) Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.
Public method InitializeLifetimeService() (Inherited from MarshalByRefObject.)
Public method Insert(Int32, AdomdRestriction) Inserts a restriction into the AdomdRestrictionCollection collection at the specified index.
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method Remove(AdomdRestriction) Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection.
Public method RemoveAt(Int32) Removes the restriction at the specified index of the AdomdRestrictionCollection collection.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of AdomdRestriction objects in the collection.
Public property IsFixedSize Gets a value indicating whether the AdomdRestrictionCollection has a fixed size.
Public property IsReadOnly Gets a value indicating whether the AdomdRestrictionCollection is read-only.
Public property IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Public property Item[Int32] Gets or sets the specified AdomdRestriction from the collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdRestrictionCollection class.
Public property SyncRoot Gets an object that can be used to synchronize access to the collection.

Top