ServiceQueueEvent Class

The ServiceQueueEvent object represents the Service Broker service queue events that can be included in a service queue event set.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.ServiceQueueEvent

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

Syntax

'Declaration
Public NotInheritable Class ServiceQueueEvent
'Usage
Dim instance As ServiceQueueEvent
public sealed class ServiceQueueEvent
public ref class ServiceQueueEvent sealed
[<SealedAttribute>]
type ServiceQueueEvent =  class end
public final class ServiceQueueEvent

The ServiceQueueEvent type exposes the following members.

Properties

  Name Description
Public propertyStatic member AlterQueue Gets a service queue event that can be included in the event set.
Public propertyStatic member BrokerQueueDisabled Gets a service queue event that can be included in the event set.
Public propertyStatic member DropQueue Gets a service queue event that can be included in the event set.
Public propertyStatic member QueueActivation Gets a service queue event that can be included in the event set.

Top

Methods

  Name Description
Public methodStatic member Add Returns a Service Broker queue event set that is created by adding two specified events together.
Public methodStatic member BitwiseOr Creates a service queue event set by performing a bitwise OR operation on two ServiceQueueEvent objects.
Public method Equals Determines whether the referenced service queue event object is equal to a specified object. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns the referenced object in string format. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Addition Creates a service queue event set by performing an addition operation on two ServiceQueueEvent objects.
Public operatorStatic member BitwiseOr Creates a service queue event set by performing a bitwise OR operation on two ServiceQueueEvent objects.
Public operatorStatic member Equality Creates a service queue event set by performing an equality operation on two ServiceQueueEvent objects.
Public operatorStatic member Implicit(ServiceQueueEvent to ServiceQueueEventSet) Casts a service queue event as a service queue event set.
Public operatorStatic member Inequality Creates a service queue event set by performing an inequality operation on two ServiceQueueEvent objects.

Top

Remarks

The ServiceQueueEvent object contains a property for each event to which the service queue can respond. The actual set of events is specified using the ServiceQueueEventSet object.

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.

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.