InstAPI.GetSQLRootRegPath(StringBuilder, UInt32) Método

Definición

Recupera la raíz del Registro para un servidor SQL Server.

public:
 static bool GetSQLRootRegPath(System::Text::StringBuilder ^ registryPath, System::UInt32 % bufferSize);
public static bool GetSQLRootRegPath(System.Text.StringBuilder registryPath, ref uint bufferSize);
static member GetSQLRootRegPath : System.Text.StringBuilder * uint32 -> bool
Public Shared Function GetSQLRootRegPath (registryPath As StringBuilder, ByRef bufferSize As UInteger) As Boolean

Parámetros

registryPath
StringBuilder

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

bufferSize
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.

Devoluciones

true, si la llamada se ejecutó correctamente; de lo contrario, false.

Se aplica a