ServerDdlTriggerEventSet.Add Método (ServerDdlTriggerEvent)
Returns a set of server DDL events after adding a new server DDL event to the set of events.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SqlEnum (en Microsoft.SqlServer.SqlEnum.dll)
Sintaxis
'Declaración
Public Function Add ( _
anEvent As ServerDdlTriggerEvent _
) As ServerDdlTriggerEventSet
'Uso
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
Parámetros
- anEvent
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEvent
A ServerDdlTriggerEvent object that specifies the new event.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Smo.ServerDdlTriggerEventSet
A ServerDdlTriggerEventSet that represents the event set.
Ejemplos
Vea también
Referencia
ServerDdlTriggerEventSet Clase
Espacio de nombres Microsoft.SqlServer.Management.Smo