Class SqlInstanceHostNetworkConfiguration
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents the host SQL network configuration information. This only applies to on-premises installations of SQL Server.
public class SqlInstanceHostNetworkConfiguration : BypassSection
- Inheritance
-
SqlInstanceHostNetworkConfiguration
- Inherited Members
Constructors
SqlInstanceHostNetworkConfiguration()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlInstanceHostNetworkConfiguration class.
public SqlInstanceHostNetworkConfiguration()
Properties
AcceptedSpns
Gets or sets the accepted service principal names. This only applies to SQL Server 2022 and later.
public SerializableStringCollection AcceptedSpns { get; set; }
Property Value
- SerializableStringCollection
Certificate
Gets or sets the assigned certificate.
public SslCertificate Certificate { get; set; }
Property Value
CertificateThumbprint
Gets or sets the certificate thumbprint.
public string CertificateThumbprint { get; set; }
Property Value
ExtendedProtectionMode
Gets or sets the extended protection mode.
public SqlInstanceExtendedProtectionMode ExtendedProtectionMode { get; set; }
Property Value
ForceEncryption
Gets or sets whether the host forces encryption.
public BooleanOption ForceEncryption { get; set; }
Property Value
ForceStrictEncryption
Gets or sets whether the host forces strict encryption. This only applies to SQL Server 2022 and later.
public BooleanOption ForceStrictEncryption { get; set; }
Property Value
HideInstance
Gets or sets whether to hide the instance.
public BooleanOption HideInstance { get; set; }
Property Value
IsCertificateNotFound
Gets or sets whether the certificate was assigned but not found.
public BooleanOption IsCertificateNotFound { get; set; }
Property Value
Protocols
Gets or sets the protocols configuration.
public SqlInstanceNetworkProtocolsConfiguration Protocols { get; set; }
Property Value
Methods
FromXml(string)
Returns a CENTREL.XIA.Configuration.Types.SqlInstanceHostNetworkConfiguration class from the specified XML.
public static SqlInstanceHostNetworkConfiguration FromXml(string xml)
Parameters
xmlstringThe XML representation of the object.
Returns
- SqlInstanceHostNetworkConfiguration
A CENTREL.XIA.Configuration.Types.SqlInstanceHostNetworkConfiguration class.
ShouldSerializeCertificate()
Determines whether the Certificate property should be serialized.
public bool ShouldSerializeCertificate()
Returns
- bool
A System.Boolean value that indicates whether the Certificate property should be serialized.
ToString()
Returns the host SQL network configuration information as a human readable string.
public override string ToString()
Returns
- string
The hosts SQL network configuration information as a human readable string.