Condividi tramite


Proprietà ReadOnly

Gets or sets a Boolean value.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Property ReadOnly As Boolean
    Get
    Set
'Utilizzo
Dim instance As DatabaseAdapterBase
Dim value As Boolean

value = instance.ReadOnly

instance.ReadOnly = value
public bool ReadOnly { get; set; }
public:
virtual property bool ReadOnly {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract ReadOnly : bool with get, set
override ReadOnly : bool with get, set
final function get ReadOnly () : boolean
final function set ReadOnly (value : boolean)

Valore proprietà

Tipo: System. . :: . .Boolean
Boolean
Returns True if database is set to read-only. Otherwise, False.