Share via


DatabaseDdlTriggerEvent.CreateDatabaseEncryptionKey Property

Gets a database DDL trigger event that can be included in the event set.

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

Syntax

'Declaration
Public Shared ReadOnly Property CreateDatabaseEncryptionKey As DatabaseDdlTriggerEvent
    Get
'Usage
Dim value As DatabaseDdlTriggerEvent

value = DatabaseDdlTriggerEvent.CreateDatabaseEncryptionKey
public static DatabaseDdlTriggerEvent CreateDatabaseEncryptionKey { get; }
public:
static property DatabaseDdlTriggerEvent^ CreateDatabaseEncryptionKey {
    DatabaseDdlTriggerEvent^ get ();
}
static member CreateDatabaseEncryptionKey : DatabaseDdlTriggerEvent
static function get CreateDatabaseEncryptionKey () : DatabaseDdlTriggerEvent

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTriggerEvent
A DatabaseEvent object that represents the CreateDatabaseEncryptionKey event that can be included in the database DDL Trigger event set.