DelegateGetSvcBinPathByInstName 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按给定的友好实例名称表示 SQL Server 服务的程序文件根目录。
public delegate bool DelegateGetSvcBinPathByInstName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcBinPathByInstName(string sInstanceName, SQL_SVCS Service, StringBuilder sPath, out uint pdwSize);
type DelegateGetSvcBinPathByInstName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcBinPathByInstName(sInstanceName As String, Service As SQL_SVCS, sPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean
参数
- sInstanceName
- String
一个表示实例名称的 String 值。
- Service
- SQL_SVCS
SQL 服务。
- sPath
- StringBuilder
一个指向用于接收路径的缓冲区的指针。
- pdwSize
- UInt32
如果提供的缓冲区太小,则返回所需长度。
返回值
值Boolean包含SQL Server服务的程序文件根目录(按给定的友好实例名称)。