IDatabaseOptions.EncryptionEnabled プロパティ
暗号化がデータベースに対して有効かどうかを示す値を取得または設定します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<DisplayNameKeyAttribute("Database_EncryptionEnabledName")> _
<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")> _
Property EncryptionEnabled As Boolean
Get
Set
'使用
Dim instance As IDatabaseOptions
Dim value As Boolean
value = instance.EncryptionEnabled
instance.EncryptionEnabled = value
[DisplayNameKeyAttribute("Database_EncryptionEnabledName")]
[DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")]
bool EncryptionEnabled { get; set; }
[DisplayNameKeyAttribute(L"Database_EncryptionEnabledName")]
[DisplayDescriptionKeyAttribute(L"Database_EncryptionEnabledDesc")]
property bool EncryptionEnabled {
bool get ();
void set (bool value);
}
[<DisplayNameKeyAttribute("Database_EncryptionEnabledName")>]
[<DisplayDescriptionKeyAttribute("Database_EncryptionEnabledDesc")>]
abstract EncryptionEnabled : bool with get, set
function get EncryptionEnabled () : boolean
function set EncryptionEnabled (value : boolean)
プロパティ値
型: System.Boolean
データベース暗号化が有効かどうかを示す Boolean 値です。True の場合、データベース暗号化は有効です。False (既定値) の場合、有効ではありません。