DelegateGetSvcInstanceRegStringByName Delegate

Definition

Represents a value whether the registry string from an instance specific registry tree is given by friendly instance name.

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

Parameters

sInstanceName
String

A String value that represents the instance name.

Service
SQL_SVCS

The SQL service.

sRegPath
String

A pointer to a buffer to receive the registry path.

sValueName
String

A string that contains the value name to retrieve.

sString
StringBuilder

A string that contains the String to retrieve.

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 registry string from an instance specific registry tree is given by friendly instance name; otherwise, false.

Applies to