DelegateGetSQLServiceByName 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 SQL service by instance name.
public delegate bool DelegateGetSQLServiceByName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sServiceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServiceByName(string sInstanceName, SQL_SVCS Service, StringBuilder sServiceName, out uint pdwSize);
type DelegateGetSQLServiceByName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServiceByName(sInstanceName As String, Service As SQL_SVCS, sServiceName 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.
- sServiceName
- StringBuilder
The SQL service 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
A Boolean value contains the SQL service by instance name.