UserDefinedFunctionEvents.UnsubscribeFromEvents(UserDefinedFunctionEventSet) UserDefinedFunctionEvents.UnsubscribeFromEvents(UserDefinedFunctionEventSet) UserDefinedFunctionEvents.UnsubscribeFromEvents(UserDefinedFunctionEventSet) Method

Definition

Clears the specified event settings, and removes all event handlers.

public:
 void UnsubscribeFromEvents(Microsoft::SqlServer::Management::Smo::UserDefinedFunctionEventSet ^ events);
public void UnsubscribeFromEvents (Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet events);
Public Sub UnsubscribeFromEvents (events As UserDefinedFunctionEventSet)
Parameters
events
UserDefinedFunctionEventSet UserDefinedFunctionEventSet UserDefinedFunctionEventSet

A UserDefinedFunctionEventSet object that specifies the set of events to stop receiving.

Examples

Handling SMO Events

Applies to