Partager via


Implicit conversion (DatabaseDdlTriggerEvent to DatabaseDdlTriggerEventSet)

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

Syntaxe

'Déclaration
Public Shared Widening Operator CType ( _
    eventValue As DatabaseDdlTriggerEvent _
) As DatabaseDdlTriggerEventSet
'Utilisation
Dim input As DatabaseDdlTriggerEvent
Dim output As DatabaseDdlTriggerEventSet

output = CType(input, DatabaseDdlTriggerEventSet)
public static implicit operator DatabaseDdlTriggerEventSet (
    DatabaseDdlTriggerEvent eventValue
)
static implicit operator DatabaseDdlTriggerEventSet^ (
    DatabaseDdlTriggerEvent^ eventValue
)
JScript prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.