Propriété Utility.ManagedInstanceHealthyCount

Gets the number of healthy instances of SQL Server managed by the UCP.

Espace de noms :  Microsoft.SqlServer.Management.Utility
Assembly :  Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)

Syntaxe

'Déclaration
Public ReadOnly Property ManagedInstanceHealthyCount As Integer 
    Get
'Utilisation
Dim instance As Utility 
Dim value As Integer 

value = instance.ManagedInstanceHealthyCount
public int ManagedInstanceHealthyCount { get; }
public:
property int ManagedInstanceHealthyCount {
    int get ();
}
member ManagedInstanceHealthyCount : int
function get ManagedInstanceHealthyCount () : int

Valeur de propriété

Type : System.Int32
An Int32 value specifying the number of healthy instances of SQL Server that are managed by the UCP.

Notes

The health states of a ManagedInstance are defined by the HealthState enumeration.

Voir aussi

Référence

Utility Classe

Espace de noms Microsoft.SqlServer.Management.Utility