SetScheduledJobCommand.InputObject Property

Gets or sets the scheduled job. This property represents the InputObject 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 SetScheduledJobCommand
Dim value As ScheduledJobDefinition

value = instance.InputObject

instance.InputObject = value

Syntax

'Declaration
<ParameterAttribute(Position:=0, Mandatory:=True, ValueFromPipeline:=True, ParameterSetName:="ScriptBlock")> _
<ParameterAttribute(Position:=0, Mandatory:=True, ValueFromPipeline:=True, ParameterSetName:="FilePath")> _
<ParameterAttribute(Position:=0, Mandatory:=True, ValueFromPipeline:=True, ParameterSetName:="Execution")> _
<ValidateNotNullAttribute> _
Public Property InputObject As ScheduledJobDefinition
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName="ScriptBlock")] 
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName="FilePath")] 
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName="Execution")] 
[ValidateNotNullAttribute] 
public ScheduledJobDefinition InputObject { get; set; }
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName=L"ScriptBlock")] 
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName=L"FilePath")] 
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName=L"Execution")] 
[ValidateNotNullAttribute] 
public:
property ScheduledJobDefinition^ InputObject {
    ScheduledJobDefinition^ get ();
    void set (ScheduledJobDefinition^ value);
}
/** @property */
public ScheduledJobDefinition get_InputObject ()

/** @property */
public void set_InputObject (ScheduledJobDefinition value)
public function get InputObject () : ScheduledJobDefinition

public function set InputObject (value : ScheduledJobDefinition)

Property Value

Returns ScheduledJobDefinition.

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

SetScheduledJobCommand Class
SetScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace