Delen via


DatabaseDdlTriggerEvent.CreateRole 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 CreateRole As DatabaseDdlTriggerEvent
    Get
'Usage
Dim value As DatabaseDdlTriggerEvent

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

Property Value

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