DelegateGetInstRegPathByID Delegate

Definition

Gets the registry subtree by an instance identifier that represents an installed SQL component.

public delegate bool DelegateGetInstRegPathByID(INST_ID ^ pInstanceID, SQL_SVCS Service, StringBuilder ^ sRegPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstRegPathByID(INST_ID pInstanceID, SQL_SVCS Service, StringBuilder sRegPath, out uint pdwSize);
type DelegateGetInstRegPathByID = delegate of INST_ID * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstRegPathByID(pInstanceID As INST_ID, Service As SQL_SVCS, sRegPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

Parameters

pInstanceID
INST_ID

A pointer to the instance ID of the relevant instance.

Service
SQL_SVCS

The SQL service.

sRegPath
StringBuilder

A pointer to a buffer to receive the registry path.

pdwSize
UInt32

A pointer to a DWORD value to supply the length of the buffer. Returns the required length if the supplied buffer is too small.

Return Value

true if it represents an installed SQL component.; otherwise, false.

Applies to