ScheduledJobDefinition Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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