ScheduledJobDefinition Constructor

Definition

Constructor.

public ScheduledJobDefinition (System.Management.Automation.JobInvocationInfo invocationInfo, System.Collections.Generic.IEnumerable<Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger> triggers, Microsoft.PowerShell.ScheduledJob.ScheduledJobOptions options, System.Management.Automation.PSCredential credential);
new Microsoft.PowerShell.ScheduledJob.ScheduledJobDefinition : System.Management.Automation.JobInvocationInfo * seq<Microsoft.PowerShell.ScheduledJob.ScheduledJobTrigger> * Microsoft.PowerShell.ScheduledJob.ScheduledJobOptions * System.Management.Automation.PSCredential -> Microsoft.PowerShell.ScheduledJob.ScheduledJobDefinition
Public Sub New (invocationInfo As JobInvocationInfo, triggers As IEnumerable(Of ScheduledJobTrigger), options As ScheduledJobOptions, credential As PSCredential)

Parameters

invocationInfo
JobInvocationInfo

Information to invoke Job

triggers
IEnumerable<ScheduledJobTrigger>

ScheduledJobTriggers

options
ScheduledJobOptions

ScheduledJobOptions

credential
PSCredential

Credential

Applies to