Delen via


ManagedInstance.PhysicalMemory Property

Gets the physical memory of the managed instance of SQL Server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property PhysicalMemory As Integer 
    Get
'Usage
Dim instance As ManagedInstance 
Dim value As Integer 

value = instance.PhysicalMemory
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int PhysicalMemory { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int PhysicalMemory {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member PhysicalMemory : int
function get PhysicalMemory () : int

Property Value

Type: System.Int32
An Int32 that contains the managed instance of SQL Server.

See Also

Reference

ManagedInstance Class

Microsoft.SqlServer.Management.Utility Namespace