语言

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

适用于