Class WindowsServerFunction
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Windows server functions such as SQL database server.
public class WindowsServerFunction : GlobalSerializableClassicBase, IComparable<WindowsServerFunction>
- Inheritance
-
WindowsServerFunction
- Implements
Constructors
WindowsServerFunction()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsServerFunction class.
public WindowsServerFunction()
Properties
DisplayValue
Gets the display value for the function.
public string DisplayValue { get; set; }
Property Value
FunctionType
Gets or sets the Windows server function type.
public WindowsServerFunctionType FunctionType { get; set; }
Property Value
FunctionTypeString
Gets the Windows server function type as a human readable string.
public string FunctionTypeString { get; set; }
Property Value
InstanceIdentifier
Gets or sets the identifier for the function. This only applies to functions that can have multiple instances such as SQL Server.
public string InstanceIdentifier { get; set; }
Property Value
IsActive
Gets or sets whether the function was active and running at the time of the scan.
public BooleanOption IsActive { get; set; }
Property Value
IsEnabled
Gets or sets whether the function was enabled at the time of the scan.
public BooleanOption IsEnabled { get; set; }
Property Value
Methods
CompareTo(WindowsServerFunction)
Compares two server functions to allow sorting by function type name.
public int CompareTo(WindowsServerFunction other)
Parameters
other
WindowsServerFunctionThe CENTREL.XIA.Configuration.Types.WindowsServerFunction to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsServerFunction objects.
ToString()
Returns the CENTREL.XIA.Configuration.Types.WindowsServerFunction as a human readable string.
public override string ToString()
Returns
- string
The CENTREL.XIA.Configuration.Types.WindowsServerFunction as a human readable string.