Aracılığıyla paylaş


ServiceQueueEventSet Class

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

Inheritance Hierarchy

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)

Syntax

'Bildirim
Public NotInheritable Class ServiceQueueEventSet _
    Inherits EventSetBase
'Kullanım
Dim instance As ServiceQueueEventSet
public sealed class ServiceQueueEventSet : EventSetBase
public ref class ServiceQueueEventSet sealed : public EventSetBase
[<SealedAttribute>]
type ServiceQueueEventSet =  
    class
        inherit EventSetBase
    end
public final class ServiceQueueEventSet extends EventSetBase

The ServiceQueueEventSet type exposes the following members.

Constructors

  Name Description
Public method ServiceQueueEventSet() Initializes a new instance of the ServiceQueueEventSet class.
Public method ServiceQueueEventSet(ServiceQueueEvent) Initializes a new instance of the ServiceQueueEventSet class with a specified event.
Public method ServiceQueueEventSet(array<ServiceQueueEvent[]) Initializes a new instance of the ServiceQueueEventSet class with the specified events.
Public method ServiceQueueEventSet(ServiceQueueEventSet) Initializes a new instance of the ServiceQueueEventSet class with the specified events.

Top

Properties

  Name Description
Public property 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.
Public property 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.
Public property 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.
Public property NumberOfElements Gets the number of events in the event set. (Overrides EventSetBase.NumberOfElements.)
Public property 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.
Protected property Storage Gets or sets the bit array for event set storage. (Inherited from EventSetBase.)

Top

Methods

  Name Description
Public method Add(ServiceQueueEvent) Returns a Service Broker queue event set after adding a new queue event to the referenced set.
Public methodStatic member Add(ServiceQueueEventSet, ServiceQueueEvent) Returns a Service Broker queue event set after adding a new queue event to the specified set.
Public method Copy Returns a copy of the event set. (Overrides EventSetBase.Copy().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method FitsMask Specifies whether the EventSetBase object fits the specified mask. (Inherited from EventSetBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Inherited from EventSetBase.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove Removes an event from the event set.
Protected method SetValue Sets the bit value at the specified index position. (Inherited from EventSetBase.)
Public methodStatic member Subtract Returns a Service Broker queue event set after subtracting a queue event from the specified set.
Public method ToString Returns a string that represents the ServiceQueueEventSet object. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Addition Creates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.
Public operatorStatic member Subtraction Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.

Top

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.

Examples

Handling SMO Events

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace