Método UserDefinedFunctionEvents.SubscribeToEvents (UserDefinedFunctionEventSet)
Specifies the user-defined function events to receive.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub SubscribeToEvents ( _
events As UserDefinedFunctionEventSet _
)
'Uso
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
)
Parâmetros
- events
Tipo: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that specifies the set of events to receive.
Comentários
Events are sent to the event handlers that are registered with the ServerEvent event.
Exemplos
Consulte também
Referência
UserDefinedFunctionEvents Classe