مشاركة عبر


ServiceQueueEvent Implicit Conversion (ServiceQueueEvent to ServiceQueueEventSet)

Casts a service queue event as a service queue 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 ServiceQueueEvent _
) As ServiceQueueEventSet
'Usage
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 supports the use of custom casts, but not the declaration of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
A service queue event.

Examples

Handling SMO Events

See Also

Reference

ServiceQueueEvent Class

Microsoft.SqlServer.Management.Smo Namespace