共用方式為


RemoteServiceBindingEvents 類別

The RemoteServiceBindingEvents object represents the settings required for Microsoft SQL Server remote service binding event notification.

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Smo.Broker..::..RemoteServiceBindingEvents

命名空間:  Microsoft.SqlServer.Management.Smo.Broker
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Class RemoteServiceBindingEvents
'用途
Dim instance As RemoteServiceBindingEvents
public class RemoteServiceBindingEvents
public ref class RemoteServiceBindingEvents
type RemoteServiceBindingEvents =  class end
public class RemoteServiceBindingEvents

RemoteServiceBindingEvents 型別公開下列成員。

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetEventSelection Returns the currently selected event notifications.
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 StartEvents Starts receiving events.
公用方法 StopEvents Stops receiving events.
公用方法 SubscribeToEvents(ObjectEventSet) Specifies the remote service binding events to receive.
公用方法 SubscribeToEvents(ObjectEventSet, ServerEventHandler) Specifies the remote service binding events to receive and the event handler that handles the events.
公用方法 ToString (繼承自 Object。)
公用方法 UnsubscribeAllEvents Clears all event settings, and removes all event handlers.
公用方法 UnsubscribeFromEvents Clears the specified event settings, and removes all event handlers.

上層

事件

  名稱 說明
公用事件 ServerEvent Specifies the server event handler for remote service binding events.

上層

備註

Thread Safety

此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。

執行緒安全性

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