Sdílet prostřednictvím


ObjectProperty.ReadOnly Property

Gets or sets the Boolean property value that specifies whether the property is read-only or read/write. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Property ReadOnly As Boolean
    Get
    Set
'Usage
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)

Property Value

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