Add Método
Returns a Server DDL trigger event set after adding an SQL DLL trigger event to the event set.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Sintaxis
'Declaración
Public Shared Function Add ( _
eventLeft As ServerDdlTriggerEvent, _
eventRight As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Uso
Dim eventLeft As ServerDdlTriggerEvent
Dim eventRight As ServerDdlTriggerEvent
Dim returnValue As ServerDdlTriggerEventSet
returnValue = ServerDdlTriggerEvent.Add(eventLeft, _
eventRight)
public static ServerDdlTriggerEventSet Add(
ServerDdlTriggerEvent eventLeft,
ServerDdlTriggerEvent eventRight
)
public:
static ServerDdlTriggerEventSet^ Add(
ServerDdlTriggerEvent^ eventLeft,
ServerDdlTriggerEvent^ eventRight
)
static member Add :
eventLeft:ServerDdlTriggerEvent *
eventRight:ServerDdlTriggerEvent -> ServerDdlTriggerEventSet
public static function Add(
eventLeft : ServerDdlTriggerEvent,
eventRight : ServerDdlTriggerEvent
) : ServerDdlTriggerEventSet
Parámetros
- eventLeft
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server data definition language (DDL) events.
- eventRight
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the server DDL events.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet object value that specifies a set of server DDL trigger events after the event is added.
Vea también