Partager via


Conversion Implicit (ServiceQueueEvent to ServiceQueueEventSet)

Casts a service queue event as a service queue 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 ServiceQueueEvent _
) As ServiceQueueEventSet
'Utilisation
Dim input As ServiceQueueEvent
Dim output As ServiceQueueEventSet

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