ServiceQueueEventSet.Add Method (ServiceQueueEventSet, ServiceQueueEvent)

 

Returns a Service Broker queue event set after adding a new queue event to the specified set.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public static ServiceQueueEventSet Add(
	ServiceQueueEventSet eventSet,
	ServiceQueueEvent anEvent
)

Parameters

eventSet
Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet

A ServiceQueueEventSet object that specifies the event set to which the event is added.

anEvent
Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEvent

A ServiceQueueEvent object that specifies the event that is added to the event set.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet

A ServiceQueueEventSet that represents the event set after the new event is added.

Return to top
Show: