Export (0) Print
Expand All

SmartAdminState Class

SQL Server 2014

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


Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public class SmartAdminState : ISmartAdminState, 
	IDmfFacet, IDmfAdapter, IRefreshable

The SmartAdminState type exposes the following members.

Public methodSmartAdminStateInitializes a new instance of the SmartAdminState class.

Public propertyIsBackupEnabledGets a value indicating whether smart backup is enabled or not.
Public propertyIsMasterSwitchEnabledGets a value indicating whether master switch is on
Public propertyNumberOfBackupLoopsGets the number of backup loops. If zero then main loop is stalled.
Public propertyNumberOfCorruptedOrDeletedBackupsGets the number Corrupted or deleted backups
Public propertyNumberOfInvalidCredentialErrorsGets the number of Invalid storage credential errors.
Public propertyNumberOfOtherErrorsGets the number of all other errors.
Public propertyNumberOfRetentionLoopsGets the number of retention loops. If zero then retention thread is stalled.
Public propertyNumberOfSqlErrorsGets the number of SQL Errors seen by smartadmin components(main loop, retention threads).
Public propertyNumberOfStorageConnectivityErrorsGets the number of Storage connectivity errors.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshRefresh the smartadmin object state
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft