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
一个表示实例名称的 String 值。
- Service
- SQL_SVCS
SQL 服务。
- sRegPath
- String
一个指向用于接收注册表路径的缓冲区的指针。
- sValueName
- String
一个包含要检索的值名称的字符串。
- sString
- StringBuilder
包含要检索的字符串的字符串。
- pdwSize
- UInt32
一个指向用于提供缓冲区长度的 DWORD 值的指针。 如果提供的缓冲区太小,则返回所需长度。
返回值
true 如果特定于实例的注册表树中的注册表字符串由易记实例名称提供,则为 ;否则为 false。