Sdílet prostřednictvím


DatabaseEncryptionKeyExtender.ReEncrypt Property

Gets or sets a Boolean value to indicate whether an encryption key will be re-encrypted.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<ExtendedPropertyAttribute> _
Public Property ReEncrypt As Boolean 
    Get 
    Set
'Usage
Dim instance As DatabaseEncryptionKeyExtender 
Dim value As Boolean 

value = instance.ReEncrypt

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

Property Value

Type: System.Boolean
Boolean If True if database encryption key is to be re-encrypted.If False if database encryption key is not to be re-encrypted.

See Also

Reference

DatabaseEncryptionKeyExtender Class

Microsoft.SqlServer.Management.Smo Namespace