DelegateGetInstanceNameFromID Delegate

Definition

Gets a value that indicates whether the installed instance name from the instance identifier represents an installed SQL Component.

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

Parameters

pInstanceID
INST_ID

A pointer to the instance ID of the relevant instance.

sInstanceName
StringBuilder

A String value that represents the instance name.

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 the installed instance name from the instance identifier represents an installed SQL Component; otherwise, false.

Applies to