Método UserDefinedFunctionEventSet.Add (UserDefinedFunctionEventSet, UserDefinedFunctionEvent)
Adds a user defined function event to an user defined function event set.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Function Add ( _
eventSet As UserDefinedFunctionEventSet, _
anEvent As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Uso
Dim eventSet As UserDefinedFunctionEventSet
Dim anEvent As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet
returnValue = UserDefinedFunctionEventSet.Add(eventSet, _
anEvent)
public static UserDefinedFunctionEventSet Add(
UserDefinedFunctionEventSet eventSet,
UserDefinedFunctionEvent anEvent
)
public:
static UserDefinedFunctionEventSet^ Add(
UserDefinedFunctionEventSet^ eventSet,
UserDefinedFunctionEvent^ anEvent
)
static member Add :
eventSet:UserDefinedFunctionEventSet *
anEvent:UserDefinedFunctionEvent -> UserDefinedFunctionEventSet
public static function Add(
eventSet : UserDefinedFunctionEventSet,
anEvent : UserDefinedFunctionEvent
) : UserDefinedFunctionEventSet
Parâmetros
- eventSet
Tipo: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
The user defined function event set.
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEvent
The user defined function event.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.UserDefinedFunctionEventSet
The user defined function event set with added event.