Share via


UserDefinedFunctionEvent Implicit Conversion (UserDefinedFunctionEvent to UserDefinedFunctionEventSet)

Casts a single user defined function event as a user defined function 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 UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Usage
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 supports the use of custom casts, but not the declaration of new ones.