AdomdRestrictionCollection Class

 

Updated: March 10, 2016

Gets a collection of AdomdRestriction objects.

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

System.Object
  System.MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient.AdomdRestrictionCollection

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

NameDescription
System_CAPS_pubmethodAdomdRestrictionCollection()

Initializes a new instance of the AdomdRestrictionCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of AdomdRestriction objects in the collection.

System_CAPS_pubpropertyIsFixedSize

Gets a value indicating whether the AdomdRestrictionCollection has a fixed size.

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the AdomdRestrictionCollection is read-only.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the collection is synchronized (thread safe).

System_CAPS_pubpropertyItem[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.

System_CAPS_pubpropertySyncRoot

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

NameDescription
System_CAPS_pubmethodAdd(AdomdRestriction)

Adds an AdomdRestriction to the collection.

System_CAPS_pubmethodAdd(String, Object)

Creates a new AdomdRestriction with the specified property name and value.

System_CAPS_pubmethodAdd(String, String, Object)

Creates a new AdomdRestriction with the specified property name, namespace, and value.

System_CAPS_pubmethodClear()

Removes all restrictions from the AdomdRestrictionCollection.

System_CAPS_pubmethodContains(AdomdRestriction)

Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.

System_CAPS_pubmethodCopyTo(AdomdRestriction[], Int32)

Copies the elements of the AdomdRestrictionCollection collection to the specified array.

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodFind(String)

Gets the specified AdomdRestriction from the collection by its name.

System_CAPS_pubmethodFind(String, String)

Gets the specified AdomdRestriction from the collection by its name and namespace.

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that iterates through the AdomdRestrictionCollection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(AdomdRestriction)

Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodInsert(Int32, AdomdRestriction)

Inserts a restriction into the AdomdRestrictionCollection collection at the specified index.

System_CAPS_pubmethodRemove(AdomdRestriction)

Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes the restriction at the specified index of the AdomdRestrictionCollection collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

Copies the elements of the AdomdRestrictionCollection to an array, starting at a particular index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that iterates through the AdomdRestrictionCollection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Add(Object)

Adds an item to the AdomdRestrictionCollection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Contains(Object)

Determines whether the AdomdRestrictionCollection contains the specified value.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.IndexOf(Object)

Determines the index of the specified item in the AdomdRestrictionCollection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Insert(Int32, Object)

Insert an item to the AdomdRestrictionCollection at the specified index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList.Remove(Object)

Removes the first occurrence of the specified object from the AdomdRestrictionCollection.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList.Item[Int32]

Gets or sets the AdomdRestriction 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: