DelegateGetInstRegPathByID Delegado

Definición

Obtiene el subárbol del Registro mediante un identificador de instancia que representa un componente de 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

Puntero al identificador de la instancia pertinente.

Service
SQL_SVCS

Servicio SQL.

sRegPath
StringBuilder

Puntero a un búfer para recibir la ruta de acceso del Registro.

pdwSize
UInt32

Puntero a un valor DWORD para proporcionar la longitud del búfer. Devuelve la longitud requerida si el búfer proporcionado es demasiado pequeño.

Valor devuelto

true si representa un componente SQL instalado; de lo contrario, false.

Se aplica a