Permission.ReadDefinition Property

Gets or sets the ReadDefinition attribute for the parent object.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Property ReadDefinition As ReadDefinitionAccess
    Get
    Set
'Usage
Dim instance As Permission
Dim value As ReadDefinitionAccess

value = instance.ReadDefinition

instance.ReadDefinition = value
public ReadDefinitionAccess ReadDefinition { get; set; }
public:
property ReadDefinitionAccess ReadDefinition {
    ReadDefinitionAccess get ();
    void set (ReadDefinitionAccess value);
}
member ReadDefinition : ReadDefinitionAccess with get, set
function get ReadDefinition () : ReadDefinitionAccess
function set ReadDefinition (value : ReadDefinitionAccess)

Property Value

Type: Microsoft.AnalysisServices.ReadDefinitionAccess
An enumeration value with the ReadDefinition attributes. Values can be None, Basic, or Allowed; default value is None.

Remarks

If Allowed, members can read the DDL associated with the object.

Basic and Allowed are inherited to objects contained within the object. Allowed overrides Basic and None.

Allowed is required for DISCOVER_XML_METADATA on an object. Basic is required to create linked objects and local cubes.