Partilhar via


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
<DefaultValueAttribute(ReadDefinitionAccess.None)> _
Public Property ReadDefinition As ReadDefinitionAccess
[DefaultValueAttribute(ReadDefinitionAccess.None)] 
public ReadDefinitionAccess ReadDefinition { get; set; }
[DefaultValueAttribute(ReadDefinitionAccess::None)] 
public:
property ReadDefinitionAccess ReadDefinition {
    ReadDefinitionAccess get ();
    void set (ReadDefinitionAccess value);
}
/** @property */
public ReadDefinitionAccess get_ReadDefinition ()

/** @property */
public void set_ReadDefinition (ReadDefinitionAccess value)
public function get ReadDefinition () : ReadDefinitionAccess

public function set ReadDefinition (value : ReadDefinitionAccess)

Property Value

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Permission Class
Permission Members
Microsoft.AnalysisServices Namespace