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
Identifier
Gets or sets the unique identifier of the host. This is for internal system use only.
public Guid Identifier { get; set; }
Property Value
InstanceID
Gets or sets the SQL instance ID for the host.
public string InstanceID { get; set; }
Property Value
IsDomainController
Gets or sets whether the host is a domain controller.
public BooleanOption IsDomainController { get; set; }
Property Value
IsServer
Gets or sets whether the host operating system is a server operating system.
public BooleanOption IsServer { get; set; }
Property Value
IsServerCore
Gets or sets whether the host operating system is a core operating system.
public BooleanOption IsServerCore { 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
Network
Gets or sets the SQL network configuration for the host.
public SqlInstanceHostNetworkConfiguration Network { 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
RebootPending
Gets or sets whether a reboot was pending at the time of the scan.
public BooleanOption RebootPending { get; set; }
Property Value
SerialNumber
Gets or sets the serial number of the server.
public string SerialNumber { get; set; }
Property Value
ServerFunctions
Gets or sets the server functions detected for the server. This only applies to Windows Server 2012 and above.
public WindowsServerFunctions ServerFunctions { 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
SqlServerAgentService
Gets or sets the SQL Server Agent service configuration.
public SqlInstanceHostSqlServerAgentServiceConfiguration SqlServerAgentService { get; set; }
Property Value
SqlServerBrowserService
Gets or sets the SQL Server Browser service configuration.
public SqlInstanceHostSqlServerBrowserServiceConfiguration SqlServerBrowserService { get; set; }
Property Value
SqlServerFullTextSearchService
Gets or sets the SQL Server Full-Text Search service configuration.
public SqlInstanceHostSqlServerFullTextSearchServiceConfiguration SqlServerFullTextSearchService { get; set; }
Property Value
SqlServerService
Gets or sets the SQL Server service configuration.
public SqlInstanceHostSqlServerServiceConfiguration SqlServerService { get; set; }
Property Value
SqlServerTelemetryService
Gets or sets the SQL Server telemetry (CEIP) service configuration.
public SqlInstanceHostSqlServerTelemetryServiceConfiguration SqlServerTelemetryService { get; set; }
Property Value
WindowsDirectory
Gets or sets the Windows directory path - for example "C:\Windows".
public string WindowsDirectory { get; set; }
Property Value
WindowsVersion
Gets or sets the Windows version of the host.
public WindowsOperatingSystemVersion WindowsVersion { 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
otherSqlInstanceHostInformationThe 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.