Compartilhar via


Classe ServiceQueueEventSet

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

Hierarquia de herança

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

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

Sintaxe

'Declaração
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

O tipo ServiceQueueEventSet expõe os membros a seguir.

Construtores

  Nome Descrição
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.

Início

Propriedades

  Nome Descrição
Propriedade 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.
Propriedade 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.
Propriedade 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.
Propriedade pública NumberOfElements Gets the number of events in the event set. (Substitui EventSetBase. . :: . .NumberOfElements.)
Propriedade 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.
Propriedade protegida Storage Gets or sets the bit array for event set storage. (Herdado de EventSetBase.)

Início

Métodos

  Nome Descrição
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úblicoMembro 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. (Substitui EventSetBase. . :: . .Copy() () () ().)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método protegido FitsMask Specifies whether the EventSetBase object fits the specified mask. (Herdado de EventSetBase.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido HasCommonBits Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Herdado de EventSetBase.)
Método protegido MemberwiseClone (Herdado 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. (Herdado de EventSetBase.)
Método públicoMembro 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. (Substitui Object. . :: . .ToString() () () ().)

Início

Operadores

  Nome Descrição
Operador públicoMembro 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úblicoMembro estático Subtraction Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.

Início

Comentários

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

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência