Table of Contents

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

SslCertificate

CertificateThumbprint

Gets or sets the certificate thumbprint.

public string CertificateThumbprint { get; set; }

Property Value

string

ExtendedProtectionMode

Gets or sets the extended protection mode.

public SqlInstanceExtendedProtectionMode ExtendedProtectionMode { get; set; }

Property Value

SqlInstanceExtendedProtectionMode

ForceEncryption

Gets or sets whether the host forces encryption.

public BooleanOption ForceEncryption { get; set; }

Property Value

BooleanOption

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

BooleanOption

HideInstance

Gets or sets whether to hide the instance.

public BooleanOption HideInstance { get; set; }

Property Value

BooleanOption

IsCertificateNotFound

Gets or sets whether the certificate was assigned but not found.

public BooleanOption IsCertificateNotFound { get; set; }

Property Value

BooleanOption

Protocols

Gets or sets the protocols configuration.

public SqlInstanceNetworkProtocolsConfiguration Protocols { get; set; }

Property Value

SqlInstanceNetworkProtocolsConfiguration

Methods

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.SqlInstanceHostNetworkConfiguration class from the specified XML.

public static SqlInstanceHostNetworkConfiguration FromXml(string xml)

Parameters

xml string

The 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.