Condividi tramite


GetMemoryUsage Method

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

The GetMemoryUsage method is retained for compatibility with previous versions of SQL Distributed Management Objects (SQL-DMO).

Sintassi

object
.GetMemoryUsage( )
as
String

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT GetMemoryUsage(
SQLDMO_LPBSTR pRetVal);

[!NOTA] SQL-DMO strings are always returned as OLE BSTR objects. A C/C++ application obtains a reference to the string. The application must release the reference using SysFreeString.

Returns

A string.

Applies To:

Database Object