Partager via


SmartAdminState Class

Definition

This is an adapter class that implements the ISmartAdminState logical facet for an Availability Group.

public class SmartAdminState : Microsoft.SqlServer.Management.Common.IRefreshable, Microsoft.SqlServer.Management.Facets.IDmfAdapter, Microsoft.SqlServer.Management.Sdk.Sfc.IDmfFacet, Microsoft.SqlServer.Management.Smo.ISmartAdminState
type SmartAdminState = class
    interface ISmartAdminState
    interface IDmfFacet
    interface IRefreshable
    interface IDmfAdapter
Public Class SmartAdminState
Implements IDmfAdapter, IDmfFacet, IRefreshable, ISmartAdminState
Inheritance
SmartAdminState
Implements

Constructors

SmartAdminState(SmartAdmin)

Initializes a new instance of the SmartAdminState class.

Properties

IsBackupEnabled

Gets a value indicating whether smart backup is enabled or not.

IsMasterSwitchEnabled

Gets a value indicating whether master switch is on

NumberOfBackupLoops

Gets the number of backup loops. If zero then main loop is stalled.

NumberOfCorruptedOrDeletedBackups

Gets the number Corrupted or deleted backups

NumberOfInvalidCredentialErrors

Gets the number of Invalid storage credential errors.

NumberOfOtherErrors

Gets the number of all other errors.

NumberOfRetentionLoops

Gets the number of retention loops. If zero then retention thread is stalled.

NumberOfSqlErrors

Gets the number of SQL Errors seen by smartadmin components(main loop, retention threads).

NumberOfStorageConnectivityErrors

Gets the number of Storage connectivity errors.

Methods

Refresh()

Refresh the smartadmin object state

Applies to