Implicit-Konversionen (ViewEvent to ViewEventSet)
Casts a single view event as a view event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
eventValue As ViewEvent _
) As ViewEventSet
'Usage
Dim input As ViewEvent
Dim output As ViewEventSet
output = CType(input, ViewEventSet)
public static implicit operator ViewEventSet (
ViewEvent eventValue
)
static implicit operator ViewEventSet^ (
ViewEvent^ eventValue
)
JScript unterstützt die Verwendung benutzerdefinierter Umwandlungen, aber nicht die Deklaration neuer Umwandlungen.
Parameter
- eventValue
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ViewEvent
ViewEvent
Rückgabewert
Typ: Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
A ViewEventSet which contains the ViewEvent.