Поделиться через


Класс AdomdRestrictionCollection

Gets a collection of AdomdRestriction objects.

Иерархия наследования

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

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public NotInheritable Class AdomdRestrictionCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Применение
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

Тип AdomdRestrictionCollection обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод AdomdRestrictionCollection Initializes a new instance of the AdomdRestrictionCollection class.

В начало

Свойства

  Имя Описание
Открытое свойство Count Gets the number of AdomdRestriction objects in the collection.
Открытое свойство IsFixedSize Gets a value indicating whether the AdomdRestrictionCollection has a fixed size.
Открытое свойство IsReadOnly Gets a value indicating whether the AdomdRestrictionCollection is read-only.
Открытое свойство IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Открытое свойство 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.
Открытое свойство SyncRoot Gets an object that can be used to synchronize access to the collection.

В начало

Методы

  Имя Описание
Открытый метод Add(AdomdRestriction) Adds an AdomdRestriction to the collection.
Открытый метод Add(String, Object) Creates a new AdomdRestriction with the specified property name and value.
Открытый метод Add(String, String, Object) Creates a new AdomdRestriction with the specified property name, namespace, and value.
Открытый метод Clear Removes all restrictions from the AdomdRestrictionCollection.
Открытый метод Contains Determines whether a AdomdRestriction is in the AdomdRestrictionCollection.
Открытый метод CopyTo Copies the elements of the AdomdRestrictionCollection collection to the specified array.
Открытый метод CreateObjRef (Производный от MarshalByRefObject.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод Find(String) Gets the specified AdomdRestriction from the collection by its name.
Открытый метод Find(String, String) Gets the specified AdomdRestriction from the collection by its name and namespace.
Открытый метод GetEnumerator Gets an instance of the AdomdRestrictionCollection..::..Enumerator class for iterating through the collection.
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetLifetimeService (Производный от MarshalByRefObject.)
Открытый метод GetType (Производный от Object.)
Открытый метод IndexOf Returns the zero-based index of the first occurrence of a restriction in the AdomdRestrictionCollection collection.
Открытый метод InitializeLifetimeService (Производный от MarshalByRefObject.)
Открытый метод Insert Inserts a restriction into the AdomdRestrictionCollection collection at the specified index.
Защищенный метод MemberwiseClone() () () () (Производный от Object.)
Защищенный метод MemberwiseClone(Boolean) (Производный от MarshalByRefObject.)
Открытый метод Remove Removes the first occurrence of a specific restriction from the AdomdRestrictionCollection collection.
Открытый метод RemoveAt Removes the restriction at the specified index of the AdomdRestrictionCollection collection.
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.