Dela via


DatabaseEncryptionKeyExtender.Regenerate Property

Gets or sets a Boolean value to indicate whether an encryption key will be regenerated.

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

Syntax

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

value = instance.Regenerate

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

Property Value

Type: System.Boolean
Boolean
If True if the database encryption key is to be regenerated.
If False if the database encryption key is not to be regenerated.