DatabaseEvent.CreateRole Property
Gets a database event that can be included in the event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared ReadOnly Property CreateRole As DatabaseEvent
Get
'Usage
Dim value As DatabaseEvent
value = DatabaseEvent.CreateRole
public static DatabaseEvent CreateRole { get; }
public:
static property DatabaseEvent^ CreateRole {
DatabaseEvent^ get ();
}
static member CreateRole : DatabaseEvent
static function get CreateRole () : DatabaseEvent
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that represents the CreateRole event that can be included in the database event set.