Свойство PhysicalMemory
Gets the total RAM installed, in MB, for the computer that is running the instance of SQL Server.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")> _
<DisplayNameKeyAttribute("Server_PhysicalMemoryName")> _
ReadOnly Property PhysicalMemory As Integer
Get
'Применение
Dim instance As IServerInformation
Dim value As Integer
value = instance.PhysicalMemory
[DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")]
[DisplayNameKeyAttribute("Server_PhysicalMemoryName")]
int PhysicalMemory { get; }
[DisplayDescriptionKeyAttribute(L"Server_PhysicalMemoryDesc")]
[DisplayNameKeyAttribute(L"Server_PhysicalMemoryName")]
property int PhysicalMemory {
int get ();
}
[<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")>]
[<DisplayNameKeyAttribute("Server_PhysicalMemoryName")>]
abstract PhysicalMemory : int
function get PhysicalMemory () : int
Значение свойства
См. также