Поделиться через


Метод Add (ServerDdlTriggerEvent)

Returns a set of server DDL events after adding a new server DDL event to the set of events.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.SqlEnum (в Microsoft.SqlServer.SqlEnum.dll)

Синтаксис

'Декларация
Public Function Add ( _
    anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Применение
Dim instance As ServerDdlTriggerEventSet
Dim anEvent As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet

returnValue = instance.Add(anEvent)
public ServerDdlTriggerEventSet Add(
    ServerDdlTriggerEvent anEvent
)
public:
ServerDdlTriggerEventSet^ Add(
    ServerDdlTriggerEvent^ anEvent
)
member Add : 
        anEvent:ServerDdlTriggerEvent -> ServerDdlTriggerEventSet 
public function Add(
    anEvent : ServerDdlTriggerEvent
) : ServerDdlTriggerEventSet

Параметры

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet that represents the event set.