ServiceQueueEvent 类
The ServiceQueueEvent object represents the Service Broker service queue events that can be included in a service queue event set.
继承层次结构
System.Object
Microsoft.SqlServer.Management.Smo.ServiceQueueEvent
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public NotInheritable Class ServiceQueueEvent
用法
Dim instance As ServiceQueueEvent
public sealed class ServiceQueueEvent
public ref class ServiceQueueEvent sealed
[<SealedAttribute>]
type ServiceQueueEvent = class end
public final class ServiceQueueEvent
ServiceQueueEvent 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
AlterQueue | Gets a service queue event that can be included in the event set. | |
BrokerQueueDisabled | Gets a service queue event that can be included in the event set. | |
DropQueue | Gets a service queue event that can be included in the event set. | |
QueueActivation | Gets a service queue event that can be included in the event set. |
页首
方法
名称 | 说明 | |
---|---|---|
Add | Returns a Service Broker queue event set that is created by adding two specified events together. | |
BitwiseOr | Creates a service queue event set by performing a bitwise OR operation on two ServiceQueueEvent objects. | |
Equals | Determines whether the referenced service queue event object is equal to a specified object. (覆盖 Object.Equals(Object)。) | |
GetHashCode | 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (覆盖 Object.GetHashCode()。) | |
GetType | (从 Object 继承。) | |
ToString | Returns the referenced object in string format. (覆盖 Object.ToString()。) |
页首
运算符
名称 | 说明 | |
---|---|---|
Addition | Creates a service queue event set by performing an addition operation on two ServiceQueueEvent objects. | |
BitwiseOr | Creates a service queue event set by performing a bitwise OR operation on two ServiceQueueEvent objects. | |
Equality | Creates a service queue event set by performing an equality operation on two ServiceQueueEvent objects. | |
Implicit(ServiceQueueEvent to ServiceQueueEventSet) | Casts a service queue event as a service queue event set. | |
Inequality | Creates a service queue event set by performing an inequality operation on two ServiceQueueEvent objects. |
页首
注释
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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。
示例
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。