DelegateGetSvcBinPathByInstName Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.