Trigger.MarkForDrop Method
SQL Server 2012
Marks the trigger to be dropped.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Parameters
- dropOnAlter
- Type: System.Boolean
A Boolean value that specifies whether to drop the trigger next time the Alter method is run on the parent object.If True, the trigger is dropped when the Alter method of the parent object is run.If False, the trigger is not dropped on alter.
