Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.28 KB

File metadata and controls

47 lines (37 loc) · 1.28 KB
title LocalDBStartTracing Function | Microsoft Docs
ms.custom
ms.date 06/13/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology
ms.topic reference
api_name
LocalDBStartTracing
api_location
sqluserinstance.dll
topic_type
apiref
ms.assetid c7b83833-6d2a-4a06-9cb7-42767bed52c6
author CarlRabeler
ms.author carlrab
manager craigg

LocalDBStartTracing Function

Enables tracing of API calls for all the SQL Server Express LocalDB instances owned by the current Windows user.

Header file: sqlncli.h

Syntax

HRESULT LocalDBStartTracing();  

Returns

S_OK
The function succeeded.

LOCALDB_ERROR_XEVENT_FAILED
Failed to start XEvent engine within the LocalDB Instance API.

LOCALDB_ERROR_INTERNAL_ERROR
An unexpected error occurred. See the event log for details.

Remarks

For a code sample that uses LocalDB API, see SQL Server Express LocalDB Reference.

See Also

SQL Server Express LocalDB Header and Version Information