InstAPI.GetSQLRootRegPath(StringBuilder, UInt32) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
true se la chiamata ha avuto esito positivo; in caso contrario, false.