InstAPI.GetSQLReplicationRegPath(StringBuilder, UInt32) 方法

定義

顯示 SQL 登錄檔路徑的副本。

public:
 static bool GetSQLReplicationRegPath(System::Text::StringBuilder ^ registryPath, System::UInt32 % bufferSize);
public static bool GetSQLReplicationRegPath(System.Text.StringBuilder registryPath, ref uint bufferSize);
static member GetSQLReplicationRegPath : System.Text.StringBuilder * uint32 -> bool
Public Shared Function GetSQLReplicationRegPath (registryPath As StringBuilder, ByRef bufferSize As UInteger) As Boolean

參數

registryPath
StringBuilder

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

bufferSize
UInt32

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

傳回

登錄檔路徑的複製或複製。

適用於