Aracılığıyla paylaş


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

'Bildirim
Public Shared Widening Operator CType ( _
    eventValue As SqlAssemblyEvent _
) As SqlAssemblyEventSet
'Kullanım
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.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
A SqlAssemblyEventSet which contains the SqlAssemblyEvent.

Examples

Handling SMO Events

See Also

Reference

SqlAssemblyEvent Class

Microsoft.SqlServer.Management.Smo Namespace