ReadOnly 属性

Gets or sets a Boolean value.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Property ReadOnly As Boolean
    Get
    Set
用法
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)

属性值

类型:System. . :: . .Boolean
Boolean
Returns True if database is set to Read Only. Otherwise, False.