Table of Contents

Class WindowsServerFunctionCollection

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

Represents a collection of Windows server functions.

public class WindowsServerFunctionCollection : Collection<WindowsServerFunction>, IList<WindowsServerFunction>, ICollection<WindowsServerFunction>, IList, ICollection, IReadOnlyList<WindowsServerFunction>, IReadOnlyCollection<WindowsServerFunction>, IEnumerable<WindowsServerFunction>, IEnumerable
Inheritance
WindowsServerFunctionCollection
Implements
Inherited Members

Constructors

WindowsServerFunctionCollection()

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

public WindowsServerFunctionCollection()

Methods

Add(WindowsServerFunctionType)

Adds a new enabled and active function to the collection.

public WindowsServerFunction Add(WindowsServerFunctionType functionType)

Parameters

functionType WindowsServerFunctionType

The type of function to add.

Returns

WindowsServerFunction

Add(WindowsServerFunctionType, BooleanOption, BooleanOption)

Adds a new function to the collection.

public WindowsServerFunction Add(WindowsServerFunctionType functionType, BooleanOption isActive, BooleanOption isEnabled)

Parameters

functionType WindowsServerFunctionType

The type of function to add.

isActive BooleanOption

Determines whether the function is active at the time of the scan.

isEnabled BooleanOption

Determines whether the function is enabled.

Returns

WindowsServerFunction

Add(WindowsServerFunctionType, BooleanOption, BooleanOption, string)

Adds a new function to the collection.

public WindowsServerFunction Add(WindowsServerFunctionType functionType, BooleanOption isActive, BooleanOption isEnabled, string instanceIdentifier)

Parameters

functionType WindowsServerFunctionType

The type of function to add.

isActive BooleanOption

Determines whether the function is active at the time of the scan.

isEnabled BooleanOption

Determines whether the function is enabled.

instanceIdentifier string

The unique instance identifier for the function.

Returns

WindowsServerFunction

Sort()

Sorts the Windows server functions alphabetically.

public void Sort()

ToString()

Returns the server functions as a human readable string, one per line.

public override string ToString()

Returns

string

The server functions as a human readable string, one per line.