DelegateGetSvcInstanceRegStringByName Délégué
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Représente une valeur indiquant si la chaîne de Registre d’une arborescence de Registre instance spécifique est donnée par un nom de instance convivial.
public delegate bool DelegateGetSvcInstanceRegStringByName(System::String ^ sInstanceName, SQL_SVCS Service, System::String ^ sRegPath, System::String ^ sValueName, StringBuilder ^ sString, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcInstanceRegStringByName(string sInstanceName, SQL_SVCS Service, string sRegPath, string sValueName, StringBuilder sString, out uint pdwSize);
type DelegateGetSvcInstanceRegStringByName = delegate of string * SQL_SVCS * string * string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcInstanceRegStringByName(sInstanceName As String, Service As SQL_SVCS, sRegPath As String, sValueName As String, sString As StringBuilder, ByRef pdwSize As UInteger) As Boolean
Paramètres
- sInstanceName
- String
Valeur string qui représente le nom instance.
- Service
- SQL_SVCS
Service SQL.
- sRegPath
- String
Pointeur vers une mémoire tampon destinée à recevoir le chemin d'accès au Registre.
- sValueName
- String
Chaîne qui contient le nom de valeur à récupérer.
- sString
- StringBuilder
Chaîne qui contient la chaîne à récupérer.
- pdwSize
- UInt32
Pointeur vers une valeur DWORD destinée à fournir la longueur de la mémoire tampon. Retourne la longueur requise si la mémoire tampon fournie est trop petite.
Valeur renvoyée
truesi la chaîne de Registre d’un instance arborescence de Registre spécifique est donnée par un nom de instance convivial ; sinon, false.