共用方式為


Utility.ManagedInstanceHealthyCount 屬性

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

命名空間:  Microsoft.SqlServer.Management.Utility
組件:  Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)

語法

'宣告
Public ReadOnly Property ManagedInstanceHealthyCount As Integer 
    Get
'用途
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

屬性值

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

備註

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

請參閱

參考

Utility 類別

Microsoft.SqlServer.Management.Utility 命名空間