PartitionFunctionEvents.UnsubscribeFromEvents Method (ObjectEventSet)

 

Applies To: SQL Server 2016 Preview

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

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

public void UnsubscribeFromEvents(
    ObjectEventSet events
)
public:
void UnsubscribeFromEvents(
    ObjectEventSet^ events
)
member UnsubscribeFromEvents : 
        events:ObjectEventSet -> unit
Public Sub UnsubscribeFromEvents (
    events As ObjectEventSet
)

Parameters

Examples

Legacy Code Example

Handling SMO Events

See Also

PartitionFunctionEvents Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top