DelegateGetSvcBinPathByID 委托

定义

表示程序文件根目录是否由给定的服务类型和实例 ID 设置。

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

参数

pInstanceID
INST_ID

实例 ID。

Service
SQL_SVCS

要获取的服务。

sPath
StringBuilder

服务的位置。

pdwSize
UInt32

大小(以字节为单位)。

返回值

true 如果程序文件根目录由给定的服务类型和实例 ID 设置,则为 ;othwerwise、 false

适用于