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