Share via


Permission.Write Property

Gets or sets the Write attribute for the parent object.

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

Syntax

'Declaration
Public Property Write As WriteAccess
    Get
    Set
'Usage
Dim instance As Permission
Dim value As WriteAccess

value = instance.Write

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

Property Value

Type: Microsoft.AnalysisServices.WriteAccess
An enumeration value with the Write attributes. Values can be None or Allowed; default value is None.

Remarks

A Database object cannot have write permission set to Allowed, a validation error is raised.

A Write permission on a dimension grants that permission on all attributes in the dimension.

Write permission on a mining model grants permission to modify model content.

Note

Write cannot be set to Allowed unless Read attribute is also set to Allowed.