Partager via


JobExecutionInfo.RestartCommand Property

Applies To: Windows 8.1

The command string to run in the RestartDirectory in order to run the solution if the job causes the system to reboot.

Namespace: Microsoft.Assessments.Hosting
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As JobExecutionInfo
Dim value As String

value = instance.RestartCommand

instance.RestartCommand = value

Syntax

'Declaration
Public Property RestartCommand As String
public string RestartCommand { get; set; }
public:
property String^ RestartCommand {
    String^ get ();
    void set (String^ __set_formal);
}
/** @property */
public String get_RestartCommand ()

/** @property */
public void set_RestartCommand (String __set_formal)
public function get RestartCommand () : String

public function set RestartCommand (__set_formal : 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

Development Platforms

Windows 8.1

See Also

Reference

JobExecutionInfo Class
JobExecutionInfo Members
Microsoft.Assessments.Hosting Namespace