DelegateGetSvcInstanceRegStringByName 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一個值,判斷某個實例特定登錄樹的登錄檔字串是否由友善實例名稱給出。
public delegate bool DelegateGetSvcInstanceRegStringByName(System::String ^ sInstanceName, SQL_SVCS Service, System::String ^ sRegPath, System::String ^ sValueName, StringBuilder ^ sString, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcInstanceRegStringByName(string sInstanceName, SQL_SVCS Service, string sRegPath, string sValueName, StringBuilder sString, out uint pdwSize);
type DelegateGetSvcInstanceRegStringByName = delegate of string * SQL_SVCS * string * string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcInstanceRegStringByName(sInstanceName As String, Service As SQL_SVCS, sRegPath As String, sValueName As String, sString As StringBuilder, ByRef pdwSize As UInteger) As Boolean
參數
- sInstanceName
- String
一個代表實例名稱的字串值。
- Service
- SQL_SVCS
SQL 服務。
- sRegPath
- String
一個指向緩衝區的指標,用來接收登錄檔路徑。
- sValueName
- String
一個包含要取回值名稱的字串。
- sString
- StringBuilder
包含要取回的字串。
- pdwSize
- UInt32
一個指向 DWORD 值的指標,用以提供緩衝區的長度。 若緩衝區太小,則回傳所需長度。
傳回值
true如果實例特定登錄樹的登錄檔字串是由友善實例名稱給出;否則,。 false