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 值,表示特定服务的程序文件根目录。

适用于