Utility.ManagedInstanceHealthyCount Property
Gets the number of healthy instances of SQL Server managed by the UCP.
Namespace: Microsoft.SqlServer.Management.Utility
Assembly: Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)
Syntax
'Declaration
Public ReadOnly Property ManagedInstanceHealthyCount As Integer
Get
'Usage
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
Property Value
Type: System.Int32
An Int32 value specifying the number of healthy instances of SQL Server that are managed by the UCP.
Remarks
The health states of a ManagedInstance are defined by the HealthState enumeration.