Share via


DelegateGetSQLServiceByID Delegate

Definition

Represents whether the SQL Services is sorted by specified ID.

public delegate bool DelegateGetSQLServiceByID(INST_ID ^ pInstanceID, SQL_SVCS Service, StringBuilder ^ sServiceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServiceByID(INST_ID pInstanceID, SQL_SVCS Service, StringBuilder sServiceName, out uint pdwSize);
type DelegateGetSQLServiceByID = delegate of INST_ID * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServiceByID(pInstanceID As INST_ID, Service As SQL_SVCS, sServiceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

Parameters

pInstanceID
INST_ID

The identifier of the instance.

Service
SQL_SVCS

The SQL service.

sServiceName
StringBuilder

The string builder of the service name.

pdwSize
UInt32

An unsigned integer of the data size.

Return Value

true if the SQL Service is sorted by the specified ID; otherwise, false.

Applies to