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.