DelegateGetSQLDataRootByInstName Delegate

Definition

Gets the SQL data root by the instance name.

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

Parameters

sInstanceName
String

A String value that represents the instance name.

sPath
StringBuilder

A pointer to a buffer to receive the 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 the value contains the result of the SQL data root; otherwise, false.

Applies to