共用方式為


ManagedInstanceCount 屬性

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

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

語法

'宣告
Public ReadOnly Property ManagedInstanceCount As Integer
    Get
'用途
Dim instance As Utility
Dim value As Integer

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

屬性值

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