Table of Contents

Class GroupPolicyService

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an Active Directory Group Policy service.

public class GroupPolicyService : GroupPolicyPreferenceBase, IComparable<GroupPolicyPreferenceBase>
Inheritance
GroupPolicyService
Implements
Inherited Members

Constructors

GroupPolicyService()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.GroupPolicyService class.

public GroupPolicyService()

Properties

AccountName

Gets or sets the account name to use for the service.

public string AccountName { get; set; }

Property Value

string

AllowInteraction

Gets or sets whether the service is allowed to interact with the desktop.

public BooleanOption AllowInteraction { get; set; }

Property Value

BooleanOption

FirstFailureAction

Gets or sets the first failure action.

public GroupPolicyServiceFailureAction FirstFailureAction { get; set; }

Property Value

GroupPolicyServiceFailureAction

Program

Gets or sets the program to execute.

public string Program { get; set; }

Property Value

string

ProgramAppendFailCount

Gets or sets whether to append the fail count to the end of the command line.

public BooleanOption ProgramAppendFailCount { get; set; }

Property Value

BooleanOption

ProgramArguments

Gets or sets the command line arguments for the program to execute.

public string ProgramArguments { get; set; }

Property Value

string

ResetFailCountDelay

Gets or sets the delay before resetting the fail count in days.

public int ResetFailCountDelay { get; set; }

Property Value

int

RestartComputerDelay

Gets or sets the delay before restarting the computer in minutes.

public int RestartComputerDelay { get; set; }

Property Value

int

RestartMessage

Gets or sets the message to display before restarting the computer.

public string RestartMessage { get; set; }

Property Value

string

RestartServiceDelay

Gets or sets the delay before restarting the service in minutes.

public int RestartServiceDelay { get; set; }

Property Value

int

SecondFailureAction

Gets or sets the second failure action.

public GroupPolicyServiceFailureAction SecondFailureAction { get; set; }

Property Value

GroupPolicyServiceFailureAction

ServiceAction

Gets or sets the service action.

public GroupPolicyServiceAction ServiceAction { get; set; }

Property Value

GroupPolicyServiceAction

ServiceName

Gets or sets the name of the service.

public string ServiceName { get; set; }

Property Value

string

StartupType

Gets or sets the startup type.

public GroupPolicyServiceStartupType StartupType { get; set; }

Property Value

GroupPolicyServiceStartupType

ThirdFailureAction

Gets or sets the third failure action.

public GroupPolicyServiceFailureAction ThirdFailureAction { get; set; }

Property Value

GroupPolicyServiceFailureAction

Timeout

Gets or sets the wait timeout in seconds.

public int Timeout { get; set; }

Property Value

int