ReadOnly プロパティ

データベースが読み取り専用であるかどうかを示す Boolean プロパティ値を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute> _
Public Property ReadOnly As Boolean
    Get
    Set
'使用
Dim instance As DatabaseOptions
Dim value As Boolean

value = instance.ReadOnly

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

プロパティ値

型: System. . :: . .Boolean
データベースが読み取り専用かどうかを指定する Boolean 値。
True の場合、データベースは読み取り専用です。False (既定値) の場合、読み取り専用ではありません。