TriggerCollection.Remove Method (Trigger)
Removes a Trigger object from the TriggerCollection object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Remove ( _
trigger As Trigger _
)
'Usage
Dim instance As TriggerCollection
Dim trigger As Trigger
instance.Remove(trigger)
public void Remove(
Trigger trigger
)
public:
void Remove(
Trigger^ trigger
)
member Remove :
trigger:Trigger -> unit
public function Remove(
trigger : Trigger
)
Parameters
- trigger
Type: Microsoft.SqlServer.Management.Smo.Trigger
A Trigger object value that specifies the trigger to be removed from the TriggerCollection object.
See Also