Partager via


Implicit conversion (UserDefinedFunctionEvent to UserDefinedFunctionEventSet)

Casts a single user defined function event as a user defined function event set.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Widening Operator CType ( _
    eventValue As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Utilisation
Dim input As UserDefinedFunctionEvent
Dim output As UserDefinedFunctionEventSet

output = CType(input, UserDefinedFunctionEventSet)
public static implicit operator UserDefinedFunctionEventSet (
    UserDefinedFunctionEvent eventValue
)
static implicit operator UserDefinedFunctionEventSet^ (
    UserDefinedFunctionEvent^ eventValue
)
JScript prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.