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
'Declaration
Public Shared Widening Operator CType ( _
eventValue As StoredProcedureEvent _
) As StoredProcedureEventSet
'Usage
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.