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)成员在多线程操作中是安全的。但不保证所有实例成员都是线程安全的。

示例

处理 SMO 事件

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间