DelegateGetSvcInstanceRegStringByName 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示实例特定注册树的注册表字符串是否由友好实例名称给出的值。
public delegate bool DelegateGetSvcInstanceRegStringByName(System::String ^ sInstanceName, SQL_SVCS Service, System::String ^ sRegPath, System::String ^ sValueName, StringBuilder ^ sString, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcInstanceRegStringByName(string sInstanceName, SQL_SVCS Service, string sRegPath, string sValueName, StringBuilder sString, out uint pdwSize);
type DelegateGetSvcInstanceRegStringByName = delegate of string * SQL_SVCS * string * string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcInstanceRegStringByName(sInstanceName As String, Service As SQL_SVCS, sRegPath As String, sValueName As String, sString As StringBuilder, ByRef pdwSize As UInteger) As Boolean
参数
- sInstanceName
- String
一个表示实例名称的字符串值。
- Service
- SQL_SVCS
SQL服务。
- sRegPath
- String
指向缓冲区以接收注册表路径的指针。
- sValueName
- String
包含要检索值名称的字符串。
- sString
- StringBuilder
包含要检索的字符串的字符串。
- pdwSize
- UInt32
一个指向DWORD值的指针,用于提供缓冲区的长度。 如果缓冲区太小,则返回所需长度。
返回值
true如果实例特定注册树的注册表字符串由友好实例名称给出;否则,。 false