Метод Add (UserDefinedFunctionEvent)
Adds a UserDefinedFunctionEvent object to the UserDefinedFunctionEventSet object.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Function Add ( _
anEvent As UserDefinedFunctionEvent _
) As UserDefinedFunctionEventSet
'Применение
Dim instance As UserDefinedFunctionEventSet
Dim anEvent As UserDefinedFunctionEvent
Dim returnValue As UserDefinedFunctionEventSet
returnValue = instance.Add(anEvent)
public UserDefinedFunctionEventSet Add(
UserDefinedFunctionEvent anEvent
)
public:
UserDefinedFunctionEventSet^ Add(
UserDefinedFunctionEvent^ anEvent
)
member Add :
anEvent:UserDefinedFunctionEvent -> UserDefinedFunctionEventSet
public function Add(
anEvent : UserDefinedFunctionEvent
) : UserDefinedFunctionEventSet
Параметры
- anEvent
Тип: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEvent
A UserDefinedFunctionEvent object that is added to the UserDefinedFunctionEventSet object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedFunctionEventSet
A UserDefinedFunctionEventSet object that contains the added UserDefinedFunctionEvent object.