共用方式為


Permission.Write 屬性

Gets or sets the Write attribute for the parent object.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Property Write As WriteAccess 
    Get 
    Set
'用途
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)

屬性值

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

備註

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.

[!附註]

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

請參閱

參考

Permission 類別

Microsoft.AnalysisServices 命名空間