ModelOperation Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the operations that a user may perform on a model.
public enum class ModelOperation
public enum ModelOperation
type ModelOperation =
Public Enum ModelOperation
- Inheritance
-
ModelOperation
Fields
Name | Value | Description |
---|---|---|
Delete | 0 | A user may delete a model. |
ReadProperties | 1 | A user may read the properties associated with a model. |
UpdateProperties | 2 | A user may update the properties associated with a given model. |
ReadDatasource | 3 | A user may read properties associated with the model's data source. |
UpdateDatasource | 4 | A user may update the data source associated with a given model. |
ReadContent | 5 | A user may read the content of a given model. |
UpdateContent | 6 | A user may update the content of a given model. |
ReadAuthorizationPolicy | 7 | A user may read the security policy associated with a model. |
UpdateDeleteAuthorizationPolicy | 8 | A user may modify or delete the security policy associated with a given model. |
ReadModelItemAuthorizationPolicies | 9 | A user may read the security policy associated with a given model. |
UpdateModelItemAuthorizationPolicies | 10 | A user may update the security policy associated with a given model item. |
Remarks
The ModelOperation enumeration contains values that correspond to the various model 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), models, folders, reports, and resources.