Класс ServiceQueueEventSet
The ServiceQueueEventSet object represents a set of SQL Server service queue events.
Иерархия наследования
System.Object
Microsoft.SqlServer.Management.Smo.EventSetBase
Microsoft.SqlServer.Management.Smo.ServiceQueueEventSet
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public NotInheritable Class ServiceQueueEventSet _
Inherits EventSetBase
'Применение
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
Тип ServiceQueueEventSet обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
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. (Переопределяет 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. (Производный от EventSetBase.) |
В начало
Методы
Имя | Описание | |
---|---|---|
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. (Переопределяет EventSetBase.Copy().) | |
Equals | (Производный от Object.) | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
Remove | Removes an event from the event set. | |
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. (Переопределяет Object.ToString().) |
В начало
Операторы
Имя | Описание | |
---|---|---|
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. |
В начало
Замечания
The ServiceQueueEventSet object contains a property for each event to which the service queue responds.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Потокобезопасная работа с членами экземпляров типа не гарантируется.
Примеры
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.