Proprietà Utility.ManagedInstanceHealthyCount

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

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property ManagedInstanceHealthyCount As Integer 
    Get
'Utilizzo
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

Valore proprietà

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

Osservazioni

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

Vedere anche

Riferimento

Utility Classe

Spazio dei nomi Microsoft.SqlServer.Management.Utility