Sdílet prostřednictvím


ServerEvent.CreateService Property

Gets a server 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 ServerEvent
    Get
'Usage
Dim value As ServerEvent

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

Property Value

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