Compartir a través de


Clase ServiceQueueEventSet

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

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public NotInheritable Class ServiceQueueEventSet _
    Inherits EventSetBase
'Uso
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

El tipo ServiceQueueEventSet expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público ServiceQueueEventSet() () () () Initializes a new instance of the ServiceQueueEventSet class.
Método público ServiceQueueEventSet(ServiceQueueEvent) Initializes a new instance of the ServiceQueueEventSet class with a specified event.
Método público ServiceQueueEventSet(array<ServiceQueueEvent> [] () [] []) Initializes a new instance of the ServiceQueueEventSet class with the specified events.
Método público ServiceQueueEventSet(ServiceQueueEventSet) Initializes a new instance of the ServiceQueueEventSet class with the specified events.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública 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.
Propiedad pública 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.
Propiedad pública 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.
Propiedad pública NumberOfElements Gets the number of events in the event set. (Invalida EventSetBase. . :: . .NumberOfElements.)
Propiedad pública 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.
Propiedad protegida Storage Gets or sets the bit array for event set storage. (Se hereda de EventSetBase.)

Arriba

Métodos

  Nombre Descripción
Método público Add(ServiceQueueEvent) Returns a Service Broker queue event set after adding a new queue event to the referenced set.
Método públicoMiembro estático Add(ServiceQueueEventSet, ServiceQueueEvent) Returns a Service Broker queue event set after adding a new queue event to the specified set.
Método público Copy Returns a copy of the event set. (Invalida EventSetBase. . :: . .Copy() () () ().)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método protegido FitsMask Specifies whether the EventSetBase object fits the specified mask. (Se hereda de EventSetBase.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Se hereda de EventSetBase.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público Remove Removes an event from the event set.
Método protegido SetValue Sets the bit value at the specified index position. (Se hereda de EventSetBase.)
Método públicoMiembro estático Subtract Returns a Service Broker queue event set after subtracting a queue event from the specified set.
Método público ToString Returns a string that represents the ServiceQueueEventSet object. (Invalida Object. . :: . .ToString() () () ().)

Arriba

Operadores

  Nombre Descripción
Operador públicoMiembro estático Addition Creates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.
Operador públicoMiembro estático Subtraction Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.

Arriba

Comentarios

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

Thread Safety

Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.