Class SqlInstanceHostInformation
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the host information for a SQL instance. This only applies to on-premises installations of SQL Server.
public class SqlInstanceHostInformation : BaseTypeSection, IComparable<SqlInstanceHostInformation>
- Inheritance
-
SqlInstanceHostInformation
- Implements
Constructors
SqlInstanceHostInformation()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlInstanceHostInformation class.
public SqlInstanceHostInformation()
Properties
ComputerFqdn
Gets or sets the fully qualified host name of the server.
public string ComputerFqdn { get; set; }
Property Value
Manufacturer
Gets or sets the manufacturer of the server.
public string Manufacturer { get; set; }
Property Value
Model
Gets or sets the model of the server.
public string Model { get; set; }
Property Value
Name
Gets or sets the NetBIOS name of the server.
public string Name { get; set; }
Property Value
OperatingSystemName
Gets or sets the operating system name - for example "Microsoft Windows Server 2012 R2 Datacenter".
public string OperatingSystemName { get; set; }
Property Value
Processors
Gets or sets the names of the processors installed on the remote machine - for example "Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz".
public SerializableStringCollection Processors { get; set; }
Property Value
- SerializableStringCollection
SerialNumber
Gets or sets the serial number of the server.
public string SerialNumber { get; set; }
Property Value
ServicePack
Gets or sets the service version of this server - for example "Service Pack 1".
public string ServicePack { get; set; }
Property Value
ServicePackString
Gets the service pack version of this server as a human readable string - for example "Service Pack 1", "[None Installed]" or "Unknown".
public string ServicePackString { get; set; }
Property Value
Methods
CompareTo(SqlInstanceHostInformation)
Compares two CENTREL.XIA.Configuration.Types.SqlInstanceHostInformation objects to allow sorting alphabetically by name.
public int CompareTo(SqlInstanceHostInformation other)
Parameters
other
SqlInstanceHostInformationThe CENTREL.XIA.Configuration.Types.SqlInstanceHostInformation to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlInstanceHostInformation objects.
ToString()
Returns the host information as a human readable string.
public override string ToString()
Returns
- string
The host information as a human readable string.