DelegateGetSvcBinPathByInstName Delegate

Definition

Represents the program file root directory for the SQL Server service by the given friendly instance name.

public delegate bool DelegateGetSvcBinPathByInstName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcBinPathByInstName(string sInstanceName, SQL_SVCS Service, StringBuilder sPath, out uint pdwSize);
type DelegateGetSvcBinPathByInstName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcBinPathByInstName(sInstanceName As String, Service As SQL_SVCS, sPath 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.

sPath
StringBuilder

A pointer to a buffer to receive the path.

pdwSize
UInt32

Returns the required length if the supplied buffer is too small.

Return Value

A Boolean value contains the program file root directory for the SQL Server service by the given friendly instance name.

Applies to