Share via


Utility.ManagedInstanceUnhealthyCount Property

Gets the number of unhealthy managed instances of SQL Server.

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

Syntax

'Declaration
Public ReadOnly Property ManagedInstanceUnhealthyCount As Integer
    Get
'Usage
Dim instance As Utility
Dim value As Integer

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

Property Value

Type: System.Int32
An Int32 value specifying the number of unhealthy managed instances of SQL Server.