GetMemoryUsage Method

SQLServer.Database Object

Description

Returns detailed reports on SQL Server memory usage.

Visual Basic

strOutput = Database.GetMemoryUsage

C++

HRESULT pDatabase->GetMemoryUsage ( SQLOLE_LPBSTR pstrOutput );

Elements

Element Type Description

strOutput String The output returned by the internal consistency check

Reference

DBCC MEMUSAGE