InstAPI.GetSQLVerSpecificRegString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the specific registry string value for 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
Parameters
- registryPath
- String
A pointer to a buffer to receive the registry path.
- stringData
- StringBuilder
A string input that gives value for the String.
- bufferSize
- UInt32
A pointer to a DWORD value to supply the length of the buffer. Returns the required length if the supplied buffer is too small.
Returns
The specific registry string value for SQL Server.