DelegateGetSvcInstRootDirPathByName 代理人

定義

以友善實例名稱代表特定 SQL 實例的目錄路徑根。

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

參數

sInstanceName
String

執行個體名稱。

Service
SQL_SVCS

SQL Server 中的字串。

sPath
StringBuilder

設定檔的位置。

pdwSize
UInt32

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

傳回值

true若要依名稱取得目錄路徑根;否則,。 false

適用於