Table of Contents

Class RestartComputerTask

Namespace
ArcanaDevelopment.adTempus.Client
Assembly
ArcanaDevelopment.adTempus.Client.dll
public sealed class RestartComputerTask : Task
Inheritance
object
RestartComputerTask

Properties

CID

The Class ID for the object

[IgnoreDataMember]
public override ClassID CID { get; }

Property Value

ClassID

Remarks

Obsolete. Use ClassID instead.

ClassKeyName

The key name for the class.

public override string ClassKeyName { get; }

Property Value

string

Remarks

This name the name used by adTempus to identify the class and is intended for programmatic use only. Use the ClassName for a user-friendly name.

Delay

Time (in seconds) to delay before shutting down.

public int Delay { get; set; }

Property Value

int

Remarks

Shutdown is initiated immediately but warning message is displayed for Delay seconds and shutdown can be aborted during that period.

IsDependent

[IgnoreDataMember]
public override bool IsDependent { get; }

Property Value

bool

ShutdownOptions

public ShutdownOptions ShutdownOptions { get; set; }

Property Value

ShutdownOptions

SupportedResponseEvents

Gets a list of the events that are supported for Responses associated with this task.

public override ReadOnlyCollection<SupportedResponseEvent> SupportedResponseEvents { get; }

Property Value

ReadOnlyCollection<SupportedResponseEvent>

TargetComputer

The name of the computer to shut down/restart. Specify null or empty string to target the adTempus server.

public string TargetComputer { get; set; }

Property Value

string

Remarks

Job Variables are supported.

WarningMessage

Warning message to display to users. Leave empty for default.

public string WarningMessage { get; set; }

Property Value

string

Remarks

Job Variables are supported.

Methods

GetObjectDescription()

Gets a description of the object's key settings.

protected override string GetObjectDescription()

Returns

string

Remarks

This method is called by GetDescription() to get a user-friendly description of the object (such as its key settings) for display to the user. The description should contain enough information to distinguish this object from others of the same class.

See Also

WriteToConfigurationReport(IADTObjectConfigurationReportWriter)

public override void WriteToConfigurationReport(IADTObjectConfigurationReportWriter reportBuilder)

Parameters

NameTypeDescription
reportBuilder IADTObjectConfigurationReportWriter

Inherited Members