InstAPI.GetSQLVerSpecificRegString Metodo

Definizione

Indica il valore stringa del Registro di sistema specifico per SQL Server.

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

Parametri

registryPath
String

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

valueName
String

Valore String che rappresenta il nome del valore.

stringData
StringBuilder

Un input di stringa che assegna il valore per la stringa.

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

Il valore della stringa del Registro di sistema specifico per SQL Server.

Si applica a