Updates an existing trigger.
Update-Trigger [-Name] <String> [-SchemaName <String>] [-Definition] <String> [<CommonParameters>]
Updates an existing trigger.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String | The name of the trigger. |
true | false | |
SchemaName | String | The schema of the trigger. |
false | false | dbo |
Definition | String | The body of the trigger. Everything after and including the |
true | false |
Update-Trigger 'PrintMessage' 'ON rivet.Migrations for insert as print ''Migration applied!'''
Updates a trigger to prints a method when a row gets inserted into the rivet.Migrations
table.