InstAPI.GetVerSpecificRootRegPath(StringBuilder, UInt32) メソッド

定義

SQL Server のバージョン固有の (インスタンス固有ではない) レジストリのルートを取得します。

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

パラメーター

registryPath
StringBuilder

レジストリ パスを受け取るバッファーを指すポインター。

bufferSize
UInt32

バッファーの長さを指定する DWORD 値を指すポインター。 指定したバッファーが小さすぎる場合は、必要な長さを返します。

戻り値

呼び出しが成功した場合は true、それ以外の場合は false

適用対象