Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServiceQueueEventSet Class

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

System.Object
  Microsoft.SqlServer.Management.Smo.EventSetBase
    Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public sealed class ServiceQueueEventSet : EventSetBase

The ServiceQueueEventSet type exposes the following members.

  NameDescription
Public methodServiceQueueEventSet()Initializes a new instance of the ServiceQueueEventSet class.
Public methodServiceQueueEventSet(ServiceQueueEvent)Initializes a new instance of the ServiceQueueEventSet class with a specified event.
Public methodServiceQueueEventSet(ServiceQueueEvent[])Initializes a new instance of the ServiceQueueEventSet class with the specified events.
Public methodServiceQueueEventSet(ServiceQueueEventSet)Initializes a new instance of the ServiceQueueEventSet class with the specified events.
Top
  NameDescription
Public propertyAlterQueueGets 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.
Public propertyBrokerQueueDisabledGets 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.
Public propertyDropQueueGets 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.
Public propertyNumberOfElementsGets the number of events in the event set. (Overrides EventSetBase.NumberOfElements.)
Public propertyQueueActivationGets 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.
Protected propertyStorageGets or sets the bit array for event set storage. (Inherited from EventSetBase.)
Top
  NameDescription
Public methodAdd(ServiceQueueEvent)Returns a Service Broker queue event set after adding a new queue event to the referenced set.
Public methodStatic memberAdd(ServiceQueueEventSet, ServiceQueueEvent)Returns a Service Broker queue event set after adding a new queue event to the specified set.
Public methodCopyReturns a copy of the event set. (Overrides EventSetBase.Copy().)
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodRemoveRemoves an event from the event set.
Public methodStatic memberSubtractReturns a Service Broker queue event set after subtracting a queue event from the specified set.
Public methodToStringReturns a string that represents the ServiceQueueEventSet object. (Overrides Object.ToString().)
Top
  NameDescription
Public operatorStatic memberAdditionCreates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.
Public operatorStatic memberSubtractionCreates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.