DelegateGetInstRootRegPathByID 代理人

定義

從代表已安裝 SQL 元件的實例識別碼取得登錄檔子樹。

public delegate bool DelegateGetInstRootRegPathByID(INST_ID ^ pInstanceID, StringBuilder ^ sRegPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstRootRegPathByID(INST_ID pInstanceID, StringBuilder sRegPath, out uint pdwSize);
type DelegateGetInstRootRegPathByID = delegate of INST_ID * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstRootRegPathByID(pInstanceID As INST_ID, sRegPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

參數

pInstanceID
INST_ID

指向相關實例的實例 ID 指標。

sRegPath
StringBuilder

一個指向緩衝區的指標,用來接收登錄檔路徑。

pdwSize
UInt32

一個指向 DWORD 值的指標,用以提供緩衝區的長度。 若緩衝區太小,則回傳所需長度。

傳回值

一個 Boolean 從實例識別碼取得登錄檔子樹的值。

適用於