InstAPI.GetSQLRootRegPath(StringBuilder, UInt32) Metodo

Definizione

Recupera la radice del Registro di sistema per 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

Parametri

registryPath
StringBuilder

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

bufferSize
UInt32

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

Restituisce

Boolean

true se la chiamata ha avuto esito positivo; in caso contrario, false.

Si applica a