共用方式為


DatabaseEncryptionKeyExtender.Regenerate 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<ExtendedPropertyAttribute> _
Public Property Regenerate As Boolean 
    Get 
    Set
'用途
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)

屬性值

型別: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.

請參閱

參考

DatabaseEncryptionKeyExtender 類別

Microsoft.SqlServer.Management.Smo 命名空間