Freigeben über


DatabaseEvent.CreateRule-Eigenschaft

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 CreateRule As DatabaseEvent 
    Get
'Usage
Dim value As DatabaseEvent 

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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that represents the CreateRule event that can be included in the database event set.

Beispiele

Behandeln von SMO-Ereignissen

Siehe auch

Verweis

DatabaseEvent Klasse

Microsoft.SqlServer.Management.Smo-Namespace