Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1008 Bytes

File metadata and controls

37 lines (27 loc) · 1008 Bytes
title ConnectionValidSharedMemory dbmslpcn.dll
ms.custom
ms.date 03/07/2017
ms.prod sql
ms.reviewer
ms.technology native-client
ms.topic reference
ms.assetid 6ae35826-7d75-4542-b686-5f79316b6157
author markingmyname
ms.author maghan
monikerRange >=aps-pdw-2016||=azuresqldb-current||=azure-sqldw-latest||>=sql-server-2016||=sqlallproducts-allversions||>=sql-server-linux-2017||=azuresqldb-mi-current

ConnectionValidSharedMemory function in dbmslpcn.dll Shared Memory

[!INCLUDEappliesto-ss-asdb-asdw-pdw-md]

The function determines whether SQL Server Shared Memory is installed and active.

Syntax

BOOL ConnectionValidSharedMemory(char * szServerName);  

Parameters

szServerName

  • Type: char*

  • The name of the SQL server.

Return value

Type: BOOL

Returns 0 if not valid; else returns nonzero.