ScheduledJobDefinition.LoadFromStore(String, String) Method
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.
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.