语言

DelegateGetInstRootRegPathByID 委托

定义

从代表已安装SQL组件的实例标识符获取注册表子树。

public delegate bool DelegateGetInstRootRegPathByID(INST_ID ^ pInstanceID, StringBuilder ^ sRegPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstRootRegPathByID(INST_ID pInstanceID, StringBuilder sRegPath, out uint pdwSize);
type DelegateGetInstRootRegPathByID = delegate of INST_ID * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstRootRegPathByID(pInstanceID As INST_ID, sRegPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

参数

pInstanceID
INST_ID

指向相关实例的实例ID的指针。

sRegPath
StringBuilder

指向缓冲区以接收注册表路径的指针。

pdwSize
UInt32

一个指向DWORD值的指针,用于提供缓冲区的长度。 如果缓冲区太小,则返回所需长度。

返回值

一个 Boolean 从实例标识符获取注册表子树的值。

适用于