DelegateGetInstRegPathByID Delegar

Definição

Obtém a subárvore do Registro por um identificador de instância que representa um componente SQL instalado.

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 

Parâmetros

pInstanceID
INST_ID

Um ponteiro para a ID da instância pertinente.

Service
SQL_SVCS

O serviço SQL.

sRegPath
StringBuilder

Um ponteiro para um buffer para recebimento do caminho do Registro.

pdwSize
UInt32

Um ponteiro para um valor DWORD para fornecimento do comprimento do buffer. Retornará o comprimento exigido se o buffer fornecido for muito pequeno.

Valor Retornado

Boolean

true se representar um componente do SQL instalado.; caso contrário, false .

Aplica-se a