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
- eventValue
Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEvent
ServiceQueueEvent
Return Value
Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
ServiceQueueEventSet