TriggerCollection.Remove TriggerCollection.Remove TriggerCollection.Remove Method

Definition

Removes a Trigger object from the TriggerCollection object.

Overloads

Remove(Trigger) Remove(Trigger)

Removes a Trigger object from the TriggerCollection object.

Remove(String) Remove(String) Remove(String)

Removes a Trigger object from the TriggerCollection object.

Remove(Trigger) Remove(Trigger)

Removes a Trigger object from the TriggerCollection object.

public:
 void Remove(Microsoft::SqlServer::Management::Smo::Trigger ^ trigger);
public void Remove (Microsoft.SqlServer.Management.Smo.Trigger trigger);
Parameters
trigger
Trigger Trigger Trigger

A Trigger object value that specifies the trigger to be removed from the TriggerCollection object.

Examples

Using Collections

Remove(String) Remove(String) Remove(String)

Removes a Trigger object from the TriggerCollection object.

public:
 void Remove(System::String ^ name);
public void Remove (string name);
Public Sub Remove (name As String)
Parameters
name
String String String

A String value that specifies the name of the trigger to be removed from the collection.

Examples

Using Collections

Applies to