ServiceQueueEvent-Klasse

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

Vererbungshierarchie

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

Der ServiceQueueEvent-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche EigenschaftStatisches Element AlterQueue Gets a service queue event that can be included in the event set.
Öffentliche EigenschaftStatisches Element BrokerQueueDisabled Gets a service queue event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropQueue Gets a service queue event that can be included in the event set.
Öffentliche EigenschaftStatisches Element QueueActivation Gets a service queue event that can be included in the event set.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche MethodeStatisches Element Add Returns a Service Broker queue event set that is created by adding two specified events together.
Öffentliche MethodeStatisches Element BitwiseOr Creates a service queue event set by performing a bitwise OR operation on two ServiceQueueEvent objects.
Öffentliche Methode Equals Determines whether the referenced service queue event object is equal to a specified object. (Überschreibt Object.Equals(Object).)
Öffentliche Methode GetHashCode Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt Object.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString Returns the referenced object in string format. (Überschreibt Object.ToString().)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Addition Creates a service queue event set by performing an addition operation on two ServiceQueueEvent objects.
Öffentlicher OperatorStatisches Element BitwiseOr Creates a service queue event set by performing a bitwise OR operation on two ServiceQueueEvent objects.
Öffentlicher OperatorStatisches Element Equality Creates a service queue event set by performing an equality operation on two ServiceQueueEvent objects.
Öffentlicher OperatorStatisches Element Implicit(ServiceQueueEvent to ServiceQueueEventSet) Casts a service queue event as a service queue event set.
Öffentlicher OperatorStatisches Element Inequality Creates a service queue event set by performing an inequality operation on two ServiceQueueEvent objects.

Zum Anfang

Hinweise

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

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Behandeln von SMO-Ereignissen

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace