ServerEvent Implicit-Konversionen (ServerEvent to ServerEventSet)
Creates a server event set by performing an implicit operation on a ServerEvent object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
eventValue As ServerEvent _
) As ServerEventSet
'Usage
Dim input As ServerEvent
Dim output As ServerEventSet
output = CType(input, ServerEventSet)
public static implicit operator ServerEventSet (
ServerEvent eventValue
)
static implicit operator ServerEventSet^ (
ServerEvent^ eventValue
)
JScript unterstützt die Verwendung benutzerdefinierter Umwandlungen, aber nicht die Deklaration neuer Umwandlungen.
Parameter
- eventValue
Typ: Microsoft.SqlServer.Management.Smo.ServerEvent
A ServerEvent object that specifies the server event.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Smo.ServerEventSet
A ServerEventSet object value that specifies a set of server events.