共用方式為


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。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。