DelegateGetSvcInstRootRegPathByName 代理人

定義

表示特定 SQL 實例的登錄路徑根是否由該友善實例名稱設定。

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

參數

sInstanceName
String

實例的名稱。

Service
SQL_SVCS

SQL 服務。

sRegPath
StringBuilder

登錄路徑。

pdwSize
UInt32

回傳結構的估計大小,以位元組為單位。

傳回值

true如果特定 SQL 實例的登錄路徑根由該友善實例名稱設定;否則,。 false

適用於