Share via


ModelOperationsCollection Class

Represents a collection of ModelOperation objects.

Inheritance Hierarchy

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

Namespace:  Microsoft.ReportingServices.Interfaces
Assemblies:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ModelOperationsCollection _
    Inherits CollectionBase
'Usage
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

The ModelOperationsCollection type exposes the following members.

Constructors

  Name Description
Public method ModelOperationsCollection Constructs a new ModelOperationsCollection object.

Top

Properties

  Name Description
Public property Capacity (Inherited from CollectionBase.)
Public property Count (Inherited from CollectionBase.)
Public property Item Returns a ModelOperation in the ModelOperationsCollection.

Top

Methods

  Name Description
Public method Add Adds a ModelOperation to the ModelOperationsCollection.
Public method Clear (Inherited from CollectionBase.)
Public method Equals (Inherited from Object.)
Public method GetEnumerator (Inherited from CollectionBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method RemoveAt (Inherited from CollectionBase.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property IList.Item (Inherited from CollectionBase.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from CollectionBase.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from CollectionBase.)

Top

Remarks

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.

Thread Safety

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

See Also

Reference

Microsoft.ReportingServices.Interfaces Namespace

Other Resources

SMDL Report Models

Authorization in Reporting Services