Langue

DelegateGetInstRegPathByID Délégué

Définition

Obtient le sous-arbre du registre par un identifiant d’instance qui représente un composant SQL installé.

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

Paramètres

pInstanceID
INST_ID

Un pointeur vers l’ID d’instance de l’instance concernée.

Service
SQL_SVCS

Le service SQL.

sRegPath
StringBuilder

Un pointeur vers un tampon pour recevoir le chemin du registre.

pdwSize
UInt32

Un pointeur vers une valeur DWORD pour fournir la longueur du tampon. Restitue la longueur requise si le tampon fourni est trop petit.

Valeur renvoyée

true s’il représente un composant SQL installé. sinon, false.

S’applique à