Dela via


ScheduledJobTrigger.CreateAtStartupTrigger(TimeSpan, Int32, Boolean) Method

Definition

Creates a trigger that activates after OS boot.

public static Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger CreateAtStartupTrigger (TimeSpan delay, int id, bool enabled);
static member CreateAtStartupTrigger : TimeSpan * int * bool -> Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger
Public Shared Function CreateAtStartupTrigger (delay As TimeSpan, id As Integer, enabled As Boolean) As ScheduledJobTrigger

Parameters

delay
TimeSpan

Random delay

id
Int32

Trigger Id

enabled
Boolean

Trigger enabled state

Returns

ScheduledJobTrigger

Applies to