Retrieves or sets whether (and how) reboot will be performed after the command completed. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)


Visual Basic
Dim runOnceCommand1 As RunOnceCommand

Dim returnValue As Nullable(Of RunOnceCommandRebootRequest)
returnValue = runOnceCommand1.RebootRequest

Dim sampleValue As Nullable(Of RunOnceCommandRebootRequest)
runOnceCommand1.RebootRequest = sampleValue


Visual Basic
Public Property RebootRequest() As Nullable(Of RunOnceCommandRebootRequest)
public Nullable<RunOnceCommandRebootRequest> RebootRequest {get; set;}
property Nullable<RunOnceCommandRebootRequest>^ RebootRequest {
		Nullable<RunOnceCommandRebootRequest>^ get();
		void set(Nullable<RunOnceCommandRebootRequest>^ value);
public Nullable<RunOnceCommandRebootRequest> get_RebootRequest();
public void set_RebootRequest(Nullable<RunOnceCommandRebootRequest>);
JScript does not support Generics.

Property Value

If no reboot request has been set, then this property will return null. Otherwise, it will return one of the values defined in RunOnceCommandRebootRequest.


System.ArgumentException is thrown if the specified value is not compatible with the configuration pass that the run once command is applied to. See RunOnceCommandRebootRequest for details.

System.InvalidOperationException is thrown if the setting does not exist. See RunOnceCommandRebootRequest for details.

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.


Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also