ServiceQueueEventSet-Klasse
The ServiceQueueEventSet object represents a set of SQL Server service queue events.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .EventSetBase
Microsoft.SqlServer.Management.Smo..::..ServiceQueueEventSet
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public NotInheritable Class ServiceQueueEventSet _
Inherits EventSetBase
'Usage
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
Der ServiceQueueEventSet-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
ServiceQueueEventSet() () () () | Initializes a new instance of the ServiceQueueEventSet class. | |
ServiceQueueEventSet(ServiceQueueEvent) | Initializes a new instance of the ServiceQueueEventSet class with a specified event. | |
ServiceQueueEventSet(array<ServiceQueueEvent> [] () [] []) | Initializes a new instance of the ServiceQueueEventSet class with the specified events. | |
ServiceQueueEventSet(ServiceQueueEventSet) | Initializes a new instance of the ServiceQueueEventSet class with the specified events. |
Zum Anfang
Eigenschaften
Name | Beschreibung | |
---|---|---|
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. | |
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. | |
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. | |
NumberOfElements | Gets the number of events in the event set. (Überschreibt EventSetBase. . :: . .NumberOfElements.) | |
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. | |
Storage | Gets or sets the bit array for event set storage. (Geerbt von EventSetBase.) |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
Add(ServiceQueueEvent) | Returns a Service Broker queue event set after adding a new queue event to the referenced set. | |
Add(ServiceQueueEventSet, ServiceQueueEvent) | Returns a Service Broker queue event set after adding a new queue event to the specified set. | |
Copy | Returns a copy of the event set. (Überschreibt EventSetBase. . :: . .Copy() () () ().) | |
Equals | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
FitsMask | Specifies whether the EventSetBase object fits the specified mask. (Geerbt von EventSetBase.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
HasCommonBits | Specifies whether the EventSetBase object has common bits with another specified EventSetBase object. (Geerbt von EventSetBase.) | |
MemberwiseClone | (Geerbt von Object.) | |
Remove | Removes an event from the event set. | |
SetValue | Sets the bit value at the specified index position. (Geerbt von EventSetBase.) | |
Subtract | Returns a Service Broker queue event set after subtracting a queue event from the specified set. | |
ToString | Returns a string that represents the ServiceQueueEventSet object. (Überschreibt Object. . :: . .ToString() () () ().) |
Zum Anfang
Operatoren
Name | Beschreibung | |
---|---|---|
Addition | Creates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object. | |
Subtraction | Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object. |
Zum Anfang
Hinweise
The ServiceQueueEventSet object contains a property for each event to which the service queue responds.
Thread Safety
Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.