IServerInformation.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 中)
语法
声明
<DisplayNameKeyAttribute("Server_PhysicalMemoryName")> _
<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")> _
ReadOnly Property PhysicalMemory As Integer
Get
用法
Dim instance As IServerInformation
Dim value As Integer
value = instance.PhysicalMemory
[DisplayNameKeyAttribute("Server_PhysicalMemoryName")]
[DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")]
int PhysicalMemory { get; }
[DisplayNameKeyAttribute(L"Server_PhysicalMemoryName")]
[DisplayDescriptionKeyAttribute(L"Server_PhysicalMemoryDesc")]
property int PhysicalMemory {
int get ();
}
[<DisplayNameKeyAttribute("Server_PhysicalMemoryName")>]
[<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")>]
abstract PhysicalMemory : int
function get PhysicalMemory () : int
属性值
类型:System.Int32
The total RAM installed.