Share via


DatasourceOperationsCollection Class

Definition

Represents a collection of data source operations.

public ref class DatasourceOperationsCollection sealed : System::Collections::CollectionBase
public sealed class DatasourceOperationsCollection : System.Collections.CollectionBase
type DatasourceOperationsCollection = class
    inherit CollectionBase
Public NotInheritable Class DatasourceOperationsCollection
Inherits CollectionBase
Inheritance
DatasourceOperationsCollection

Remarks

A DatasourceOperationsCollection object consists of a collection of DatasourceOperation enumeration values that correspond to the various data source 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.

Constructors

DatasourceOperationsCollection()

Initializes a new instance of the DatasourceOperationsCollection class.

Properties

Item[Int32]

Gets or sets the element at the specified index. In C#, this property is the indexer for the DatasourceOperationsCollection class.

Methods

Add(DatasourceOperation)

Adds an object to the end of the DatasourceOperationsCollection.

Applies to