共用方式為


ServiceQueueEventSet Members

The ServiceQueueEventSet object represents a set of Microsoft SQL Server service queue events.

The following tables list the members exposed by the ServiceQueueEventSet type.

Public Constructors

  名稱 Description
ServiceQueueEventSet Overloaded. Initializes a new instance of the ServiceQueueEventSet class.

頂端

Public Properties

(see also Protected Properties )

  名稱 Description
ms220265.pubproperty(zh-tw,SQL.90).gif 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.
ms220265.pubproperty(zh-tw,SQL.90).gif 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.
ms220265.pubproperty(zh-tw,SQL.90).gif 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.
ms220265.pubproperty(zh-tw,SQL.90).gif NumberOfElements Overridden. Gets the number of events in the event set.
ms220265.pubproperty(zh-tw,SQL.90).gif 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.

頂端

Protected Properties

  名稱 Description
ms220265.protproperty(zh-tw,SQL.90).gif Storage  Gets or sets the bit array for event set storage. (inherited from EventSetBase)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms220265.pubmethod(zh-tw,SQL.90).gif Add Overloaded. Returns a Service Broker queue event set after adding a new queue event to the set.
ms220265.pubmethod(zh-tw,SQL.90).gif Copy Overridden. Returns a copy of the event set.
ms220265.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220265.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms220265.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms220265.pubmethod(zh-tw,SQL.90).gifms220265.static(zh-tw,SQL.90).gif op_Addition Creates a service queue trace event set by performing an addition operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.
ms220265.pubmethod(zh-tw,SQL.90).gifms220265.static(zh-tw,SQL.90).gif op_Subtraction Creates a service queue event set by performing a subtraction operation on a ServiceQueueEvent object and a ServiceQueueEventSet object.
ms220265.pubmethod(zh-tw,SQL.90).gifms220265.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220265.pubmethod(zh-tw,SQL.90).gif Remove Removes an event from the event set.
ms220265.pubmethod(zh-tw,SQL.90).gifms220265.static(zh-tw,SQL.90).gif Subtract Returns a Service Broker queue event set after subtracting a queue event from the specified set.
ms220265.pubmethod(zh-tw,SQL.90).gif ToString Overridden. Returns a string that represents the ServiceQueueEventSet object.

頂端

Protected Methods

  名稱 Description
ms220265.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms220265.protmethod(zh-tw,SQL.90).gif FitsMask  (inherited from EventSetBase )
ms220265.protmethod(zh-tw,SQL.90).gif HasCommonBits  (inherited from EventSetBase )
ms220265.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220265.protmethod(zh-tw,SQL.90).gif SetValue  (inherited from EventSetBase )

頂端

請參閱

參考

ServiceQueueEventSet Class
Microsoft.SqlServer.Management.Smo Namespace

其他資源

Handling SMO Events