Condividi tramite


Metodo Add

Adds a Trigger object to the TriggerCollection object.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Add ( _
    trigger As Trigger _
)
'Utilizzo
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
)

Parametri