TriggerCollection.Remove Method (String)

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 ( _
    name As String _
)
'Usage
Dim instance As TriggerCollection
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)
public:
void Remove(
    String^ name
)
member Remove : 
        name:string -> unit 
public function Remove(
    name : String
)

Parameters

  • name
    Type: System.String
    A String value that specifies the name of the trigger to be removed from the collection.