Partilhar via


Propriedade Write

Gets or sets the Write attribute for the parent object.

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

Sintaxe

'Declaração
Public Property Write As WriteAccess
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

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.

ObservaçãoObservação

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