DelegateGetInstRegPathByName 代理人

定義

從實例名稱取得是否安裝登錄檔子樹的值。

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

參數

sInstanceName
String

執行個體名稱。

Service
SQL_SVCS

服務。

sRegPath
StringBuilder

登錄路徑。

pdwSize
UInt32

以位元組為單位的大小。

傳回值

true如果登錄子樹是從實例名稱安裝的;否則,。 false

適用於