SetScheduledJobCommand.FilePath Property

Gets or sets the file path for the script to be run in the scheduled job. This property represents the FilePath 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 String

value = instance.FilePath

instance.FilePath = value

Syntax

'Declaration
<ValidateNotNullOrEmptyAttribute> _
<ParameterAttribute(ParameterSetName:="FilePath")> _
Public Property FilePath As String
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ParameterSetName="FilePath")] 
public string FilePath { get; set; }
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute(ParameterSetName=L"FilePath")] 
public:
property String^ FilePath {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_FilePath ()

/** @property */
public void set_FilePath (String value)
public function get FilePath () : String

public function set FilePath (value : String)

Property Value

Returns String.

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