DelegateGetSvcInstRootRegPathByName 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示特定 SQL 实例的注册表路径根目录是否由给定的友好实例名称设置。
public delegate bool DelegateGetSvcInstRootRegPathByName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sRegPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcInstRootRegPathByName(string sInstanceName, SQL_SVCS Service, StringBuilder sRegPath, out uint pdwSize);
type DelegateGetSvcInstRootRegPathByName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcInstRootRegPathByName(sInstanceName As String, Service As SQL_SVCS, sRegPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean
参数
- sInstanceName
- String
实例的名称。
- Service
- SQL_SVCS
SQL 服务。
- sRegPath
- StringBuilder
注册表路径。
- pdwSize
- UInt32
返回的结构的估计大小(以字节为单位)。
返回值
true
如果特定 SQL 实例的注册表路径根由给定的友好实例名称设置,则为 ;否则为 false
。