DelegateGetSvcBinPathByName 委托

定义

表示特定服务的程序文件根目录,通过给定的服务类型和友好实例名称表示。

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

参数

sInstanceName
String

一个表示实例名称的字符串值。

Service
SQL_SVCS

SQL服务。

sPath
StringBuilder

弦匠。

pdwSize
UInt32

一个整数值,指定数据大小。

返回值

一个表示特定服务程序文件根目录的Bolean值。

适用于