Partilhar via


Método Add

Adds a Trigger object to the TriggerCollection object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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