Table of Contents

Class SqlInstanceHostServiceAccountSecurity

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

Represents security information for the a SQL instance host service account. This only applies to on-premises installations of SQL Server.

public class SqlInstanceHostServiceAccountSecurity : BypassSection
Inheritance
SqlInstanceHostServiceAccountSecurity
Inherited Members

Constructors

SqlInstanceHostServiceAccountSecurity()

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

public SqlInstanceHostServiceAccountSecurity()

Properties

IsLocalServiceAccount

Gets whether the service account is the local service account.

public bool IsLocalServiceAccount { get; }

Property Value

bool

IsManagedServiceAccount

Gets whether the service account is either a standalone managed service account (sMSA) or standalone managed service account (gMSA).

public bool IsManagedServiceAccount { get; }

Property Value

bool

IsVirtualServiceAccount

Gets whether the service account is a virtual service account.

public bool IsVirtualServiceAccount { get; }

Property Value

bool

ServiceAccountName

Gets or sets the service account name.

public string ServiceAccountName { get; set; }

Property Value

string

ServiceAccountSid

Gets or sets the security identifier of the service account in SDDL format.

public string ServiceAccountSid { get; set; }

Property Value

string

ServiceAccountType

Gets or sets the service account type.

public SqlInstanceHostServiceAccountType ServiceAccountType { get; set; }

Property Value

SqlInstanceHostServiceAccountType

ServiceAccountTypeString

Gets the service account type as a human readable string.

public string ServiceAccountTypeString { get; set; }

Property Value

string

Methods

FromXml(string)

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

public static SqlInstanceHostServiceAccountSecurity FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SqlInstanceHostServiceAccountSecurity

A CENTREL.XIA.Configuration.Types.SqlInstanceHostServiceAccountSecurity class.