InstAPI.GetInstRootDirPathByID(INST_ID, StringBuilder, UInt32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したインスタンス ID によって、特定の SQL インスタンスのディレクトリ パスのルートを取得します。
public:
static bool GetInstRootDirPathByID(Microsoft::SqlServer::INST_ID ^ instanceID, System::Text::StringBuilder ^ directoryPath, System::UInt32 % bufferSize);
public static bool GetInstRootDirPathByID(Microsoft.SqlServer.INST_ID instanceID, System.Text.StringBuilder directoryPath, ref uint bufferSize);
static member GetInstRootDirPathByID : Microsoft.SqlServer.INST_ID * System.Text.StringBuilder * uint32 -> bool
Public Shared Function GetInstRootDirPathByID (instanceID As INST_ID, directoryPath As StringBuilder, ByRef bufferSize As UInteger) As Boolean
パラメーター
- instanceID
- INST_ID
関連するインスタンスのインスタンス ID を指すポインター。
- directoryPath
- StringBuilder
ディレクトリ パスを受け取るバッファーを指すポインター。
- bufferSize
- UInt32
バッファーの長さを指定する DWORD 値を指すポインター。 指定したバッファーが小さすぎる場合は、必要な長さを返します。
戻り値
呼び出しが成功した場合は true、それ以外の場合は false。