共用方式為


ModelOperationsCollection 類別

Represents a collection of ModelOperation objects.

繼承階層

System.Object
  System.Collections.CollectionBase
    Microsoft.ReportingServices.Interfaces.ModelOperationsCollection

命名空間:  Microsoft.ReportingServices.Interfaces
組件:   Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
  Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)

語法

'宣告
<SerializableAttribute> _
Public NotInheritable Class ModelOperationsCollection _
    Inherits CollectionBase
'用途
Dim instance As ModelOperationsCollection
[SerializableAttribute]
public sealed class ModelOperationsCollection : CollectionBase
[SerializableAttribute]
public ref class ModelOperationsCollection sealed : public CollectionBase
[<SealedAttribute>]
[<SerializableAttribute>]
type ModelOperationsCollection =  
    class 
        inherit CollectionBase 
    end
public final class ModelOperationsCollection extends CollectionBase

ModelOperationsCollection 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ModelOperationsCollection Constructs a new ModelOperationsCollection object.

上層

屬性

  名稱 說明
公用屬性 Capacity (繼承自 CollectionBase。)
公用屬性 Count (繼承自 CollectionBase。)
公用屬性 Item Returns a ModelOperation in the ModelOperationsCollection.

上層

方法

  名稱 說明
公用方法 Add Adds a ModelOperation to the ModelOperationsCollection.
公用方法 Clear (繼承自 CollectionBase。)
公用方法 Equals (繼承自 Object。)
公用方法 GetEnumerator (繼承自 CollectionBase。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 RemoveAt (繼承自 CollectionBase。)
公用方法 ToString (繼承自 Object。)

上層

明確 繼承 實作

  名稱 說明
明確介面實作私用方法 IList.Add (繼承自 CollectionBase。)
明確介面實作私用方法 IList.Contains (繼承自 CollectionBase。)
明確介面實作私用方法 ICollection.CopyTo (繼承自 CollectionBase。)
明確介面實作私用方法 IList.IndexOf (繼承自 CollectionBase。)
明確介面實作私用方法 IList.Insert (繼承自 CollectionBase。)
明確介面實作私用屬性 IList.IsFixedSize (繼承自 CollectionBase。)
明確介面實作私用屬性 IList.IsReadOnly (繼承自 CollectionBase。)
明確介面實作私用屬性 ICollection.IsSynchronized (繼承自 CollectionBase。)
明確介面實作私用屬性 IList.Item (繼承自 CollectionBase。)
明確介面實作私用方法 IList.Remove (繼承自 CollectionBase。)
明確介面實作私用屬性 ICollection.SyncRoot (繼承自 CollectionBase。)

上層

備註

A ModelOperationsCollection object consists of a collection of ModelOperation enumeration values that correspond to the various catalog operations or actions that a user can perform in SQL Server Reporting Services.

Operation collections and operation enumerations support authorization in Reporting Services. The operations collection is one of the prime components of any access control entry (AceStruct object). The operations collection contains the list of operations permitted on an item in the report server database for a given principal name. As demonstrated in previous examples, evaluating the operation collections for an item is a key part of any Reporting Services authorization extension. There exists an operation collection for each of the securable item types in Reporting Services, including the catalog (general system operations), folders, reports, and resources.

執行緒安全性

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

請參閱

參考

Microsoft.ReportingServices.Interfaces 命名空間

其他資源

設計和實作報表模型

Reporting Services 中的授權