SetJobTriggerCommand Class

Represents the Set-JobTrigger cmdlet, which changes the properties of the job triggers of scheduled jobs. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

Usage

'Usage
Dim instance As SetJobTriggerCommand

Syntax

'Declaration
<OutputTypeAttribute(System.Compiler.TypeNode[])> _
<CmdletAttribute("Set", "JobTrigger", DefaultParameterSetName:="DefaultParams", HelpUri:="https://go.microsoft.com/fwlink/?LinkID=223916")> _
Public NotInheritable Class SetJobTriggerCommand
    Inherits ScheduleJobCmdletBase
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
[CmdletAttribute("Set", "JobTrigger", DefaultParameterSetName="DefaultParams", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223916")] 
public sealed class SetJobTriggerCommand : ScheduleJobCmdletBase
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
[CmdletAttribute(L"Set", L"JobTrigger", DefaultParameterSetName=L"DefaultParams", HelpUri=L"https://go.microsoft.com/fwlink/?LinkID=223916")] 
public ref class SetJobTriggerCommand sealed : public ScheduleJobCmdletBase
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
/** @attribute CmdletAttribute("Set", "JobTrigger", DefaultParameterSetName="DefaultParams", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223916") */ 
public final class SetJobTriggerCommand extends ScheduleJobCmdletBase
OutputTypeAttribute(System.Compiler.TypeNode[]) 
CmdletAttribute("Set", "JobTrigger", DefaultParameterSetName="DefaultParams", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223916") 
public final class SetJobTriggerCommand extends ScheduleJobCmdletBase

Inheritance Hierarchy

System.Object
   System.Management.Automation.Internal.InternalCommand
     System.Management.Automation.Cmdlet
       System.Management.Automation.PSCmdlet
         Microsoft.PowerShell.ScheduledJob.ScheduleJobCmdletBase
          Microsoft.PowerShell.ScheduledJob.SetJobTriggerCommand

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

SetJobTriggerCommand Members
Microsoft.PowerShell.ScheduledJob Namespace