共用方式為


ModelOperationsCollection Class

Represents a collection of ModelOperation objects.

命名空間: Microsoft.ReportingServices.Interfaces
組件: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

語法

'宣告
<SerializableAttribute> _
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class ModelOperationsCollection
    Inherits CollectionBase
[SerializableAttribute] 
[DefaultMemberAttribute("Item")] 
public sealed class ModelOperationsCollection : CollectionBase
[SerializableAttribute] 
[DefaultMemberAttribute(L"Item")] 
public ref class ModelOperationsCollection sealed : public CollectionBase
/** @attribute SerializableAttribute() */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public final class ModelOperationsCollection extends CollectionBase
SerializableAttribute 
DefaultMemberAttribute("Item") 
public final class ModelOperationsCollection extends 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.

Inheritance Hierarchy

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

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ModelOperationsCollection Members
Microsoft.ReportingServices.Interfaces Namespace

其他資源

Implementing a Security Extension
Authorization in Reporting Services
使用模型