SynonymEvents.UnsubscribeFromEvents 方法
Clears the specified event settings, and removes all event handlers.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub UnsubscribeFromEvents ( _
events As ObjectEventSet _
)
'用途
Dim instance As SynonymEvents
Dim events As ObjectEventSet
instance.UnsubscribeFromEvents(events)
public void UnsubscribeFromEvents(
ObjectEventSet events
)
public:
void UnsubscribeFromEvents(
ObjectEventSet^ events
)
member UnsubscribeFromEvents :
events:ObjectEventSet -> unit
public function UnsubscribeFromEvents(
events : ObjectEventSet
)
參數
- events
型別:Microsoft.SqlServer.Management.Smo.ObjectEventSet
An ObjectEventSet object that specifies the set of events to stop receiving.