共用方式為


ObjectProperty.ReadOnly 屬性

Gets or sets the Boolean property value that specifies whether the property is read-only or read/write. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Property ReadOnly As Boolean 
    Get 
    Set
'用途
Dim instance As ObjectProperty 
Dim value As Boolean 

value = instance.ReadOnly

instance.ReadOnly = value
public bool ReadOnly { get; set; }
public:
property bool ReadOnly {
    bool get ();
    void set (bool value);
}
member ReadOnly : bool with get, set
function get ReadOnly () : boolean 
function set ReadOnly (value : boolean)

屬性值

型別:System.Boolean
True if the property can be retrieved only. Otherwise, false.

請參閱

參考

ObjectProperty 類別

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間