RegisterScheduledJobCommand.RunAs32 Property
Gets or sets the object controlling whether to run the scheduled job in a 32-bit PowerShell process. This property represents the RunAs32 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 SwitchParameter
value = instance.RunAs32
instance.RunAs32 = value
Syntax
'Declaration
<ParameterAttribute(ParameterSetName:="FilePath")> _
<ParameterAttribute(ParameterSetName:="ScriptBlock")> _
Public Property RunAs32 As SwitchParameter
[ParameterAttribute(ParameterSetName="FilePath")]
[ParameterAttribute(ParameterSetName="ScriptBlock")]
public SwitchParameter RunAs32 { get; set; }
[ParameterAttribute(ParameterSetName=L"FilePath")]
[ParameterAttribute(ParameterSetName=L"ScriptBlock")]
public:
property SwitchParameter RunAs32 {
SwitchParameter get ();
void set (SwitchParameter value);
}
/** @property */
public SwitchParameter get_RunAs32 ()
/** @property */
public void set_RunAs32 (SwitchParameter value)
public function get RunAs32 () : SwitchParameter
public function set RunAs32 (value : SwitchParameter)
Property Value
Returns SwitchParameter.
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