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 继承。)
公共方法 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 Returns an enumerator that iterates through the AdomdRestrictionCollection.
公共方法 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.
公共方法 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 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IList.Add Adds an item to the AdomdRestrictionCollection.
显式接口实现私有方法 IList.Contains Determines whether the AdomdRestrictionCollection contains the specified value.
显式接口实现私有方法 ICollection.CopyTo Copies the elements of the AdomdRestrictionCollection to an array, starting at a particular index.
显式接口实现私有方法 IEnumerable.GetEnumerator Returns an enumerator that iterates through the AdomdRestrictionCollection.
显式接口实现私有方法 IList.IndexOf Determines the index of the specified item in the AdomdRestrictionCollection.
显式接口实现私有方法 IList.Insert Insert an item to the AdomdRestrictionCollection at the specified index.
显式接口实现私有属性 IList.Item Gets or sets the element at the specified index.
显式接口实现私有方法 IList.Remove Removes the first occurrence of the specified object from the AdomdRestrictionCollection.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.AnalysisServices.AdomdClient 命名空间