Dela via


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

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

Property Value

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