Aracılığıyla paylaş


StoredProcedureEvent Implicit Conversion (StoredProcedureEvent to StoredProcedureEventSet)

Casts a single Stored Procedure Event as a Stored Procedure Event Set.

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

Syntax

'Bildirim
Public Shared Widening Operator CType ( _
    eventValue As StoredProcedureEvent _
) As StoredProcedureEventSet
'Kullanım
Dim input As StoredProcedureEvent
Dim output As StoredProcedureEventSet

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.StoredProcedureEventSet
A single Stored Procedure Event as a Stored Procedure Event Set.

Examples

Handling SMO Events

See Also

Reference

StoredProcedureEvent Class

Microsoft.SqlServer.Management.Smo Namespace