Freigeben über


AdomdRestrictionCollection-Klasse

Gets a collection of AdomdRestriction objects.

Vererbungshierarchie

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

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

Syntax

'Declaration
Public NotInheritable Class AdomdRestrictionCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Usage
Dim instance As AdomdRestrictionCollection
public sealed class AdomdRestrictionCollection : MarshalByRefObject, 
    IList, ICollection, IEnumerable
public ref class AdomdRestrictionCollection sealed : public MarshalByRefObject, 
    IList, ICollection, IEnumerable
[<SealedAttribute>]
type AdomdRestrictionCollection =  
    class 
        inherit MarshalByRefObject 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class AdomdRestrictionCollection extends MarshalByRefObject implements IList, ICollection, IEnumerable

Der AdomdRestrictionCollection-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode AdomdRestrictionCollection Initializes a new instance of the AdomdRestrictionCollection class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of AdomdRestriction objects in the collection.
Öffentliche Eigenschaft IsFixedSize Gets a value indicating whether the AdomdRestrictionCollection has a fixed size.
Öffentliche Eigenschaft IsReadOnly Gets a value indicating whether the AdomdRestrictionCollection is read-only.
Öffentliche Eigenschaft IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Öffentliche Eigenschaft Item 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.
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the collection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Add(AdomdRestriction) Adds an AdomdRestriction to the collection.
Öffentliche Methode Add(String, Object) Creates a new AdomdRestriction with the specified property name and value.
Öffentliche Methode Add(String, String, Object) Creates a new AdomdRestriction with the specified property name, namespace, and value.
Öffentliche Methode Clear Removes all restrictions from the AdomdRestrictionCollection.
Öffentliche Methode Contains Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.
Öffentliche Methode CopyTo Copies the elements of the AdomdRestrictionCollection collection to the specified array.
Öffentliche Methode CreateObjRef Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode Find(String) Gets the specified AdomdRestriction from the collection by its name.
Öffentliche Methode Find(String, String) Gets the specified AdomdRestriction from the collection by its name and namespace.
Öffentliche Methode GetEnumerator Returns an enumerator that iterates through the AdomdRestrictionCollection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetLifetimeService Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode IndexOf Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.
Öffentliche Methode InitializeLifetimeService Sicherheitskritisch (Geerbt von MarshalByRefObject.)
Öffentliche Methode Insert Inserts a restriction into the AdomdRestrictionCollection collection at the specified index.
Öffentliche Methode Remove Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection.
Öffentliche Methode RemoveAt Removes the restriction at the specified index of the AdomdRestrictionCollection collection.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IList.Add Adds an item to the AdomdRestrictionCollection.
Explizite SchnittstellenimplementierungPrivate Methode IList.Contains Determines whether the AdomdRestrictionCollection contains the specified value.
Explizite SchnittstellenimplementierungPrivate Methode ICollection.CopyTo Copies the elements of the AdomdRestrictionCollection to an array, starting at a particular index.
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator Returns an enumerator that iterates through the AdomdRestrictionCollection.
Explizite SchnittstellenimplementierungPrivate Methode IList.IndexOf Determines the index of the specified item in the AdomdRestrictionCollection.
Explizite SchnittstellenimplementierungPrivate Methode IList.Insert Insert an item to the AdomdRestrictionCollection at the specified index.
Explizite SchnittstellenimplementierungPrivate Eigenschaft IList.Item Gets or sets the element at the specified index.
Explizite SchnittstellenimplementierungPrivate Methode IList.Remove Removes the first occurrence of the specified object from the AdomdRestrictionCollection.

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices.AdomdClient-Namespace