DelegateGetInstRegPathByID Delegato

Definizione

Ottiene il sottoalbero del Registro di sistema dall'identificatore di un'istanza che rappresenta un componente SQL installato.

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 

Parametri

pInstanceID
INST_ID

Puntatore all'ID dell'istanza specifica.

Service
SQL_SVCS

Servizio SQL.

sRegPath
StringBuilder

Un puntatore a un buffer per la ricezione del percorso del Registro di sistema.

pdwSize
UInt32

Un puntatore a un valore DWORD per fornire la lunghezza del buffer. Restituisce la lunghezza obbligatoria se il buffer fornito è troppo piccolo.

Valore restituito

true se rappresenta un componente SQL installato. in caso contrario, false.

Si applica a