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
events
Type: Microsoft.SqlServer.Management.Smo.ObjectEventSetAn ObjectEventSet object that specifies the set of events to stop receiving.
Examples
Legacy Code Example
See Also
PartitionFunctionEvents Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top