Sdílet prostřednictvím


Utility.ManagedInstanceCount Property

Gets the number of 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 ManagedInstanceCount As Integer
    Get
'Usage
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

Property Value

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