Compartir a través de


Clase AdomdRestrictionCollection

Gets a collection of AdomdRestriction objects.

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public NotInheritable Class AdomdRestrictionCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Uso
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

El tipo AdomdRestrictionCollection expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público AdomdRestrictionCollection Initializes a new instance of the AdomdRestrictionCollection class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Count Gets the number of AdomdRestriction objects in the collection.
Propiedad pública IsFixedSize Gets a value indicating whether the AdomdRestrictionCollection has a fixed size.
Propiedad pública IsReadOnly Gets a value indicating whether the AdomdRestrictionCollection is read-only.
Propiedad pública IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Propiedad pública 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.
Propiedad pública SyncRoot Gets an object that can be used to synchronize access to the collection.

Arriba

Métodos

  Nombre Descripción
Método público Add(AdomdRestriction) Adds an AdomdRestriction to the collection.
Método público Add(String, Object) Creates a new AdomdRestriction with the specified property name and value.
Método público Add(String, String, Object) Creates a new AdomdRestriction with the specified property name, namespace, and value.
Método público Clear Removes all restrictions from the AdomdRestrictionCollection.
Método público Contains Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.
Método público CopyTo Copies the elements of the AdomdRestrictionCollection collection to the specified array.
Método público CreateObjRef (Se hereda de MarshalByRefObject.)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público Find(String) Gets the specified AdomdRestriction from the collection by its name.
Método público Find(String, String) Gets the specified AdomdRestriction from the collection by its name and namespace.
Método público GetEnumerator Gets an instance of the AdomdRestrictionCollection..::..Enumerator class for iterating through the collection.
Método público GetHashCode (Se hereda de Object.)
Método público GetLifetimeService (Se hereda de MarshalByRefObject.)
Método público GetType (Se hereda de Object.)
Método público IndexOf Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.
Método público InitializeLifetimeService (Se hereda de MarshalByRefObject.)
Método público Insert Inserts a restriction into the AdomdRestrictionCollection collection at the specified index.
Método protegido MemberwiseClone() () () () (Se hereda de Object.)
Método protegido MemberwiseClone(Boolean) (Se hereda de MarshalByRefObject.)
Método público Remove Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection.
Método público RemoveAt Removes the restriction at the specified index of the AdomdRestrictionCollection collection.
Método público ToString (Se hereda de Object.)

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.