TriggerCollection.Add Método
Adds a Trigger object to the TriggerCollection object.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
trigger As Trigger _
)
'Uso
Dim instance As TriggerCollection
Dim trigger As Trigger
instance.Add(trigger)
public void Add(
Trigger trigger
)
public:
void Add(
Trigger^ trigger
)
member Add :
trigger:Trigger -> unit
public function Add(
trigger : Trigger
)
Parámetros
- trigger
Tipo: Microsoft.SqlServer.Management.Smo.Trigger
A Trigger object value that specifies the trigger to be removed from the TriggerCollection object.
Ejemplos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo