DelegateGetSvcInstRootDirPathByName 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按给定的友好实例名称表示特定 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
。