Server.PhysicalMemory Property
SQL Server 2012
Gets the physical memory used by the server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
