Partager via


Conversion Implicit (StoredProcedureEvent to StoredProcedureEventSet)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Shared Widening Operator CType ( _
    eventValue As StoredProcedureEvent _
) As StoredProcedureEventSet
'Utilisation
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 prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.