Conversion ViewEvent Implicit (ViewEvent to ViewEventSet)
Casts a single view event as a view event set.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Shared Widening Operator CType ( _
eventValue As ViewEvent _
) As ViewEventSet
'Utilisation
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 prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.
Paramètres
- eventValue
Type : Microsoft.SqlServer.Management.Smo.ViewEvent
ViewEvent
Valeur de retour
Type : Microsoft.SqlServer.Management.Smo.ViewEventSet
A ViewEventSet which contains the ViewEvent.