Classe AdomdRestrictionCollection

Gets a collection of AdomdRestriction objects.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class AdomdRestrictionCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Utilizzo
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

Nel tipo AdomdRestrictionCollection sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico AdomdRestrictionCollection Initializes a new instance of the AdomdRestrictionCollection class.

In alto

Proprietà

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

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add(AdomdRestriction) Adds an AdomdRestriction to the collection.
Metodo pubblico Add(String, Object) Creates a new AdomdRestriction with the specified property name and value.
Metodo pubblico Add(String, String, Object) Creates a new AdomdRestriction with the specified property name, namespace, and value.
Metodo pubblico Clear Removes all restrictions from the AdomdRestrictionCollection.
Metodo pubblico Contains Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.
Metodo pubblico CopyTo Copies the elements of the AdomdRestrictionCollection collection to the specified array.
Metodo pubblico CreateObjRef Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico Find(String) Gets the specified AdomdRestriction from the collection by its name.
Metodo pubblico Find(String, String) Gets the specified AdomdRestriction from the collection by its name and namespace.
Metodo pubblico GetEnumerator Returns an enumerator that iterates through the AdomdRestrictionCollection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetLifetimeService Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico IndexOf Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.
Metodo pubblico InitializeLifetimeService Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo pubblico Insert Inserts a restriction into the AdomdRestrictionCollection collection at the specified index.
Metodo pubblico Remove Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection.
Metodo pubblico RemoveAt Removes the restriction at the specified index of the AdomdRestrictionCollection collection.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato IList.Add Adds an item to the AdomdRestrictionCollection.
Implementazione esplicita dell'interfacciaMetodo privato IList.Contains Determines whether the AdomdRestrictionCollection contains the specified value.
Implementazione esplicita dell'interfacciaMetodo privato ICollection.CopyTo Copies the elements of the AdomdRestrictionCollection to an array, starting at a particular index.
Implementazione esplicita dell'interfacciaMetodo privato IEnumerable.GetEnumerator Returns an enumerator that iterates through the AdomdRestrictionCollection.
Implementazione esplicita dell'interfacciaMetodo privato IList.IndexOf Determines the index of the specified item in the AdomdRestrictionCollection.
Implementazione esplicita dell'interfacciaMetodo privato IList.Insert Insert an item to the AdomdRestrictionCollection at the specified index.
Implementazione esplicita dell'interfacciaProprietà privata IList.Item Gets or sets the element at the specified index.
Implementazione esplicita dell'interfacciaMetodo privato IList.Remove Removes the first occurrence of the specified object from the AdomdRestrictionCollection.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.AnalysisServices.AdomdClient