DelegateGetSQLDataRootByInstName 代理人

定義

透過實例名稱取得 SQL 資料的根。

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

參數

sInstanceName
String

一個代表實例名稱的字串值。

sPath
StringBuilder

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

pdwSize
UInt32

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

傳回值

true若該值包含 SQL 資料根的結果;否則,。 false

適用於