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