Właściwość AlterDatabaseEncryptionKey
Pobiera lub ustawia Boolean wartości właściwość, który określa, czy zdarzenie jest uwzględniany w zestaw zdarzeń. Zdarzenie występuje, gdy serwer autoryzacja jest zmieniony.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo
Zestaw: Microsoft.SqlServer.SqlEnum (w Microsoft.SqlServer.SqlEnum.dll)
Syntax
'Deklaracja
Public Property AlterDatabaseEncryptionKey As Boolean
Get
Set
'Użycie
Dim instance As ServerDdlTriggerEventSet
Dim value As Boolean
value = instance.AlterDatabaseEncryptionKey
instance.AlterDatabaseEncryptionKey = value
public bool AlterDatabaseEncryptionKey { get; set; }
public:
property bool AlterDatabaseEncryptionKey {
bool get ();
void set (bool value);
}
member AlterDatabaseEncryptionKey : bool with get, set
function get AlterDatabaseEncryptionKey () : boolean
function set AlterDatabaseEncryptionKey (value : boolean)
Wartość właściwości
Typ: System. . :: . .Boolean
A Boolean wartość określająca, czy AlterDatabaseEncryptionKey zdarzenie jest uwzględniane w przypadku zestaw.
W przypadku wartości True zdarzenie jest uzględniane w zbiorze zdarzeń.
Jeśli False (domyślnie), zdarzenie nie dołączono zestaw zdarzeń.
Zobacz także