adTempus API
ArcanaDevelopment.adTempus.Client Namespace / RestartComputerTask Class / ShutdownOptions Property


In This Topic
    ShutdownOptions Property
    In This Topic
    Options for the operation
    Syntax
    'Declaration
     
    
    Public Property ShutdownOptions As ShutdownOptions
    public ShutdownOptions ShutdownOptions {get; set;}
    public:
    property ShutdownOptions ShutdownOptions {
       ShutdownOptions get();
       void set (    ShutdownOptions value);
    }
    Remarks

    Include ArcanaDevelopment.adTempus.Shared.ShutdownOptions.Restart to restart the computer. Otherwise the computer is shut down.

    Generally you should include ArcanaDevelopment.adTempus.Shared.ShutdownOptions.ForceAppsClosed to ensure that programs that are hung or waiting for input do not prevent the shutdown/restart.

    See Also