다음을 통해 공유


DatabaseEncryptionEnabled 속성

Gets or sets a Boolean value that indicates if encryption is enabled for a database.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<ExtendedPropertyAttribute> _
Public Property DatabaseEncryptionEnabled As Boolean
    Get
    Set
‘사용 방법
Dim instance As DatabaseEncryptionKeyExtender
Dim value As Boolean

value = instance.DatabaseEncryptionEnabled

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

속성 값

형식: System. . :: . .Boolean
Boolean
If True encryption is enabled.
If False encryption is not enabled.