Table of Contents

Class SqlCertificate

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a SQL Server certificate.

public class SqlCertificate : BaseTypeSection, IComparable<SqlCertificate>
Inheritance
SqlCertificate
Implements

Constructors

SqlCertificate()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlCertificate class.

public SqlCertificate()

Properties

ActiveForServiceBrokerDialog

Gets or sets whether the certificate is active for service broker dialog.

public BooleanOption ActiveForServiceBrokerDialog { get; set; }

Property Value

BooleanOption

CertificateName

Gets or sets the name of the certificate.

public string CertificateName { get; set; }

Property Value

string

ExpiryDate

Gets or sets the date and time until which this certificate is valid.

public DateTime ExpiryDate { get; set; }

Property Value

DateTime

Identifier

Gets or sets the unique identifier of certificate. This is for internal system use only.

public Guid Identifier { get; set; }

Property Value

Guid

IsValid

Gets whether the certificate is currently valid.

public bool IsValid { get; }

Property Value

bool

Issuer

Gets or sets the issuer of the certificate.

public string Issuer { get; set; }

Property Value

string

LastBackupDate

Gets or sets the date and time of the last backup.

public DateTime LastBackupDate { get; set; }

Property Value

DateTime

OwnerName

Gets or sets the name of the owner.

public string OwnerName { get; set; }

Property Value

string

PrivateKeyEncryptionType

Gets or sets the private key encryption type.

public SqlPrivateKeyEncryptionType PrivateKeyEncryptionType { get; set; }

Property Value

SqlPrivateKeyEncryptionType

SerialNumber

Gets or sets the serial number of the certificate.

public string SerialNumber { get; set; }

Property Value

string

Subject

Gets or sets the subject of the certificate.

public string Subject { get; set; }

Property Value

string

Thumbprint

Gets or sets the thumbprint of the certificate.

public string Thumbprint { get; set; }

Property Value

string

ValidFrom

Gets or sets the date from which the certificate is valid.

public DateTime ValidFrom { get; set; }

Property Value

DateTime

Methods

CompareTo(SqlCertificate)

Compares two CENTREL.XIA.Configuration.Types.SqlCertificate objects to allow sorting alphabetically by name.

public int CompareTo(SqlCertificate other)

Parameters

other SqlCertificate

The CENTREL.XIA.Configuration.Types.SqlCertificate to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.SqlCertificate objects.

ToString()

Returns the name of the certificate.

public override string ToString()

Returns

string

The name of the certificate.