Remove-AzureSqlJobTrigger

Removes a job trigger to stop future jobs runs according to a schedule.

Syntax

Remove-AzureSqlJobTrigger
      -JobName <String>
      -ScheduleName <String>
      [[-AzureSqlJobConnection] <AzureSqlJobConnection>]
      [<CommonParameters>]

Description

The Remove-AzureSqlJobTrigger cmdlet removes a job trigger to stop future job runs according to a schedule.

Examples

Example 1: Remove a job trigger by job and schedule name

PS C:\>Remove-AzureSqlJobTrigger -JobName "MyJob" -ScheduleName "MyOneMinuteIntervalSchedule"

This command removes the job trigger specified by job name and schedule name.

Parameters

-AzureSqlJobConnection

Specifies the connection state object for the job. You can get the connection state object through the New-AzureSqlJobConnection cmdlet. If you do not specify this parameter, the connection state is used from a prior call to the Use-AzureSqlJobConnection cmdlet.

Type:AzureSqlJobConnection
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-JobName

Specifies the name of the job within the job trigger.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ScheduleName

Specifies the name of the schedule within the job trigger.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False