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

/** @property */
public void set_Write (WriteAccess value)
public function get Write () : WriteAccess

public function set Write (value : WriteAccess)

Property Value

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.

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