UserDefinedFunctionEvents.SubscribeToEvents Method (UserDefinedFunctionEventSet)
Specifies the user-defined function events to receive.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub SubscribeToEvents ( _
events As UserDefinedFunctionEventSet _
)
'Usage
Dim instance As UserDefinedFunctionEvents
Dim events As UserDefinedFunctionEventSet
instance.SubscribeToEvents(events)
public void SubscribeToEvents(
UserDefinedFunctionEventSet events
)
public:
void SubscribeToEvents(
UserDefinedFunctionEventSet^ events
)
member SubscribeToEvents :
events:UserDefinedFunctionEventSet -> unit
public function SubscribeToEvents(
events : UserDefinedFunctionEventSet
)
Parameters
- events
Type: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that specifies the set of events to receive.