RegisterScheduledJobCommand.ScheduledJobOption Property
Gets or sets the options for the scheduled job. This property represents the ScheduledJobOption cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)
Usage
'Usage
Dim instance As RegisterScheduledJobCommand
Dim value As ScheduledJobOptions
value = instance.ScheduledJobOption
instance.ScheduledJobOption = value
Syntax
'Declaration
<ValidateNotNullAttribute> _
<ParameterAttribute(ParameterSetName:="FilePath")> _
<ParameterAttribute(ParameterSetName:="ScriptBlock")> _
Public Property ScheduledJobOption As ScheduledJobOptions
[ValidateNotNullAttribute]
[ParameterAttribute(ParameterSetName="FilePath")]
[ParameterAttribute(ParameterSetName="ScriptBlock")]
public ScheduledJobOptions ScheduledJobOption { get; set; }
[ValidateNotNullAttribute]
[ParameterAttribute(ParameterSetName=L"FilePath")]
[ParameterAttribute(ParameterSetName=L"ScriptBlock")]
public:
property ScheduledJobOptions^ ScheduledJobOption {
ScheduledJobOptions^ get ();
void set (ScheduledJobOptions^ value);
}
/** @property */
public ScheduledJobOptions get_ScheduledJobOption ()
/** @property */
public void set_ScheduledJobOption (ScheduledJobOptions value)
public function get ScheduledJobOption () : ScheduledJobOptions
public function set ScheduledJobOption (value : ScheduledJobOptions)
Property Value
Returns ScheduledJobOptions.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
RegisterScheduledJobCommand Class
RegisterScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace