Freigeben über


ScheduledJobDefinition.LoadFromStore(String, String) Method

Definition

Creates a new ScheduledJobDefinition object from a file.

public static Microsoft.PowerShell.ScheduledJob.ScheduledJobDefinition LoadFromStore (string definitionName, string definitionPath);
static member LoadFromStore : string * string -> Microsoft.PowerShell.ScheduledJob.ScheduledJobDefinition
Public Shared Function LoadFromStore (definitionName As String, definitionPath As String) As ScheduledJobDefinition

Parameters

definitionName
String

Name of definition to load.

definitionPath
String

Path to definition file.

Returns

ScheduledJobDefinition object.

Applies to