Share via


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)。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (覆寫 Object. . :: . .GetHashCode() () () ()。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 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 Widening Implicit Implicit 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 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。