SqlAssemblyEvent Implicit Conversion (SqlAssemblyEvent to SqlAssemblyEventSet)

Casts a single SqlAssemblyEvent as an SqlAssemblyEventSet.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    eventValue As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Usage
Dim input As SqlAssemblyEvent
Dim output As SqlAssemblyEventSet

output = CType(input, SqlAssemblyEventSet)
public static implicit operator SqlAssemblyEventSet (
    SqlAssemblyEvent eventValue
)
static implicit operator SqlAssemblyEventSet^ (
    SqlAssemblyEvent^ eventValue
)
JScript supports the use of custom casts, but not the declaration of new ones.