Classe ServiceQueueEventSet

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class ServiceQueueEventSet _
    Inherits EventSetBase
'Utilizzo
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

Nel tipo ServiceQueueEventSet sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico ServiceQueueEventSet() Initializes a new instance of the ServiceQueueEventSet class.
Metodo pubblico ServiceQueueEventSet(ServiceQueueEvent) Initializes a new instance of the ServiceQueueEventSet class with a specified event.
Metodo pubblico ServiceQueueEventSet(array<ServiceQueueEvent[]) Initializes a new instance of the ServiceQueueEventSet class with the specified events.
Metodo pubblico ServiceQueueEventSet(ServiceQueueEventSet) Initializes a new instance of the ServiceQueueEventSet class with the specified events.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica 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.
Proprietà pubblica 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.
Proprietà pubblica 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.
Proprietà pubblica NumberOfElements Gets the number of events in the event set. Esegue l'override di EventSetBase.NumberOfElements.
Proprietà pubblica 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.
Proprietà protetta Storage Gets or sets the bit array for event set storage. Ereditato da EventSetBase.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add(ServiceQueueEvent) Returns a Service Broker queue event set after adding a new queue event to the referenced set.
Metodo pubblicoMembro statico Add(ServiceQueueEventSet, ServiceQueueEvent) Returns a Service Broker queue event set after adding a new queue event to the specified set.
Metodo pubblico Copy Returns a copy of the event set. Esegue l'override di EventSetBase.Copy().
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico Remove Removes an event from the event set.
Metodo pubblicoMembro statico Subtract Returns a Service Broker queue event set after subtracting a queue event from the specified set.
Metodo pubblico ToString Returns a string that represents the ServiceQueueEventSet object. Esegue l'override di Object.ToString().

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Addition Creates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.
Operatore pubblicoMembro statico Subtraction Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.

In alto

Osservazioni

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

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Esempi

Gestione degli eventi SMO

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo