Permission.Write Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the Write attribute for the parent object.

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

Syntax

[DefaultValueAttribute(WriteAccess.None)]
public WriteAccess Write { get; set; }
public:
[DefaultValueAttribute(WriteAccess::None)]
property WriteAccess Write {
    WriteAccess get();
    void set(WriteAccess value);
}
[<DefaultValueAttribute(WriteAccess.None)>]
member Write : WriteAccess with get, set
<DefaultValueAttribute(WriteAccess.None)>
Public Property Write As 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.

See Also

Permission Class
Microsoft.AnalysisServices Namespace

Return to top