DelegateGetSQLInstanceRegStringByID 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得 SQL 實例登錄檔字串是否以 ID 註冊的值。
public delegate bool DelegateGetSQLInstanceRegStringByID(INST_ID ^ pInstanceID, System::String ^ sRegPath, System::String ^ sValueName, StringBuilder ^ sString, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLInstanceRegStringByID(INST_ID pInstanceID, string sRegPath, string sValueName, StringBuilder sString, out uint pdwSize);
type DelegateGetSQLInstanceRegStringByID = delegate of INST_ID * string * string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLInstanceRegStringByID(pInstanceID As INST_ID, sRegPath As String, sValueName As String, sString As StringBuilder, ByRef pdwSize As UInteger) As Boolean
參數
- pInstanceID
- INST_ID
身分證。
- sRegPath
- String
登錄路徑。
- sValueName
- String
名字的價值。
- sString
- StringBuilder
登錄檔的字串值。
- pdwSize
- UInt32
以位元組為單位的大小。
傳回值
true如果 SQL 實例登錄檔字串是以 ID 註冊;否則,。 false