ServiceQueueEventSet ServiceQueueEventSet ServiceQueueEventSet Class

Definition

The ServiceQueueEventSet object represents a set of SQL Server service queue events.

public ref class ServiceQueueEventSet sealed : Microsoft::SqlServer::Management::Smo::EventSetBase
public sealed class ServiceQueueEventSet : Microsoft.SqlServer.Management.Smo.EventSetBase
Public NotInheritable Class ServiceQueueEventSet
Inherits EventSetBase
Inheritance
ServiceQueueEventSetServiceQueueEventSetServiceQueueEventSet

Examples

Handling SMO Events

Remarks

The ServiceQueueEventSet object contains a property for each event to which the service queue responds.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

ServiceQueueEventSet() ServiceQueueEventSet() ServiceQueueEventSet()

Initializes a new instance of the ServiceQueueEventSet class.

ServiceQueueEventSet(ServiceQueueEvent) ServiceQueueEventSet(ServiceQueueEvent) ServiceQueueEventSet(ServiceQueueEvent)

Initializes a new instance of the ServiceQueueEventSet class with a specified event.

ServiceQueueEventSet(ServiceQueueEventSet) ServiceQueueEventSet(ServiceQueueEventSet) ServiceQueueEventSet(ServiceQueueEventSet)

Initializes a new instance of the ServiceQueueEventSet class with the specified events.

ServiceQueueEventSet(ServiceQueueEvent[]) ServiceQueueEventSet(ServiceQueueEvent[]) ServiceQueueEventSet(ServiceQueueEvent[])

Initializes a new instance of the ServiceQueueEventSet class with the specified events.

Properties

AlterQueue AlterQueue AlterQueue

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker queue is altered.

BrokerQueueDisabled BrokerQueueDisabled BrokerQueueDisabled

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker queue is disabled.

DropQueue DropQueue DropQueue

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker queue is dropped.

NumberOfElements NumberOfElements NumberOfElements

Gets the number of events in the event set.

QueueActivation QueueActivation QueueActivation

Gets or sets a Boolean property value that specifies whether the event is included in the event set. The event occurs when a Service Broker queue is activated.

Storage Storage Storage

Gets or sets the bit array for event set storage.

(Inherited from EventSetBase)

Methods

Add(ServiceQueueEvent) Add(ServiceQueueEvent) Add(ServiceQueueEvent)

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

Add(ServiceQueueEventSet, ServiceQueueEvent) Add(ServiceQueueEventSet, ServiceQueueEvent) Add(ServiceQueueEventSet, ServiceQueueEvent)

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

Copy() Copy() Copy()

Returns a copy of the event set.

FitsMask(EventSetBase) FitsMask(EventSetBase) FitsMask(EventSetBase)

Specifies whether the EventSetBase object fits the specified mask.

(Inherited from EventSetBase)
HasCommonBits(EventSetBase) HasCommonBits(EventSetBase) HasCommonBits(EventSetBase)

Specifies whether the EventSetBase object has common bits with another specified EventSetBase object.

(Inherited from EventSetBase)
Remove(ServiceQueueEvent) Remove(ServiceQueueEvent) Remove(ServiceQueueEvent)

Removes an event from the event set.

SetValue(EventSetBase, Boolean) SetValue(EventSetBase, Boolean) SetValue(EventSetBase, Boolean)

Sets the bit value at the specified index position.

(Inherited from EventSetBase)
Subtract(ServiceQueueEventSet, ServiceQueueEvent) Subtract(ServiceQueueEventSet, ServiceQueueEvent) Subtract(ServiceQueueEventSet, ServiceQueueEvent)

Returns a Service Broker queue event set after subtracting a queue event from the specified set.

ToString() ToString() ToString()

Returns a string that represents the ServiceQueueEventSet object.

Operators

Addition(ServiceQueueEventSet, ServiceQueueEvent) Addition(ServiceQueueEventSet, ServiceQueueEvent) Addition(ServiceQueueEventSet, ServiceQueueEvent)

Creates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.

Subtraction(ServiceQueueEventSet, ServiceQueueEvent) Subtraction(ServiceQueueEventSet, ServiceQueueEvent) Subtraction(ServiceQueueEventSet, ServiceQueueEvent)

Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.

Applies to