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