DelegateGetSQLBinPathByInstID 代理人

定義

以實例識別碼代表 SQL 二進位路徑。

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

參數

pInstanceID
INST_ID

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

sPath
StringBuilder

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

pdwSize
UInt32

若緩衝區太小,則回傳所需長度。

傳回值

一個 Boolean 值包含 SQL 的二進位路徑,並透過實例識別碼。

適用於