TriggerCollection.Add-Methode
Adds a Trigger object to the TriggerCollection object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Add ( _
trigger As Trigger _
)
'Usage
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
)
Parameter
- trigger
Typ: Microsoft.SqlServer.Management.Smo.Trigger
A Trigger object value that specifies the trigger to be removed from the TriggerCollection object.
Beispiele
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace