Метод 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 IndexEvents
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.