Export (0) Print
Expand All

AdomdRestrictionCollection Class

Gets a collection of AdomdRestriction objects.

Object
  MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient.AdomdRestrictionCollection

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

public sealed class AdomdRestrictionCollection : MarshalByRefObject, 
	IList, ICollection, IEnumerable

The AdomdRestrictionCollection type exposes the following members.

  NameDescription
Public methodAdomdRestrictionCollectionInitializes a new instance of the AdomdRestrictionCollection class.
Top

  NameDescription
Public propertyCountGets the number of AdomdRestriction objects in the collection.
Public propertyIsFixedSizeGets a value indicating whether the AdomdRestrictionCollection has a fixed size.
Public propertyIsReadOnlyGets a value indicating whether the AdomdRestrictionCollection is read-only.
Public propertyIsSynchronizedGets a value indicating whether access to the collection is synchronized (thread safe).
Public propertyItemGets 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 propertySyncRootGets an object that can be used to synchronize access to the collection.
Top

  NameDescription
Public methodAdd(AdomdRestriction)Adds an AdomdRestriction to the collection.
Public methodAdd(String, Object)Creates a new AdomdRestriction with the specified property name and value.
Public methodAdd(String, String, Object)Creates a new AdomdRestriction with the specified property name, namespace, and value.
Public methodClearRemoves all restrictions from the AdomdRestrictionCollection.
Public methodContainsDetermines whether a AdomdRestriction is in the AdomdRestrictionCollection.
Public methodCopyToCopies the elements of the AdomdRestrictionCollection collection to the specified array.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodEquals (Inherited from Object.)
Public methodFind(String)Gets the specified AdomdRestriction from the collection by its name.
Public methodFind(String, String)Gets the specified AdomdRestriction from the collection by its name and namespace.
Public methodGetEnumeratorReturns an enumerator that iterates through the AdomdRestrictionCollection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodGetType (Inherited from Object.)
Public methodIndexOfReturns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodInsertInserts a restriction into the AdomdRestrictionCollection collection at the specified index.
Public methodRemoveRemoves the first occurrence of a specific restriction from the AdomdRestrictionCollection collection.
Public methodRemoveAtRemoves the restriction at the specified index of the AdomdRestrictionCollection collection.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIListAddAdds an item to the AdomdRestrictionCollection.
Explicit interface implemetationPrivate methodIListContainsDetermines whether the AdomdRestrictionCollection contains the specified value.
Explicit interface implemetationPrivate methodICollectionCopyToCopies the elements of the AdomdRestrictionCollection to an array, starting at a particular index.
Explicit interface implemetationPrivate methodIEnumerableGetEnumeratorReturns an enumerator that iterates through the AdomdRestrictionCollection.
Explicit interface implemetationPrivate methodIListIndexOfDetermines the index of the specified item in the AdomdRestrictionCollection.
Explicit interface implemetationPrivate methodIListInsertInsert an item to the AdomdRestrictionCollection at the specified index.
Explicit interface implemetationPrivate propertyIListItemGets or sets the element at the specified index.
Explicit interface implemetationPrivate methodIListRemoveRemoves the first occurrence of the specified object from the AdomdRestrictionCollection.
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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft