RegisterScheduledJobCommand.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 RegisterScheduledJobCommand
Dim value As String
value = instance.FilePath
instance.FilePath = value
Syntax
'Declaration
<ParameterAttribute(Position:=1, Mandatory:=True, ParameterSetName:="FilePath")> _
<ValidateNotNullOrEmptyAttribute> _
Public Property FilePath As String
[ParameterAttribute(Position=1, Mandatory=true, ParameterSetName="FilePath")]
[ValidateNotNullOrEmptyAttribute]
public string FilePath { get; set; }
[ParameterAttribute(Position=1, Mandatory=true, ParameterSetName=L"FilePath")]
[ValidateNotNullOrEmptyAttribute]
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
RegisterScheduledJobCommand Class
RegisterScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace