DelegateGetSvcInstRootRegPathByName Delegate

Definition

表示是否根据给定的友好实例名称设置特定 SQL 实例的注册表路径根。Represents whether the registry path root for a specific SQL instance is set by the given friendly instance name.

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 

Parameters

sInstanceName
String

实例的名称。The name of the instance.

Service
SQL_SVCS

SQL 服务。The SQL service.

sRegPath
StringBuilder

注册表路径。The registry path.

pdwSize
UInt32

返回的结构的估计大小(以字节为单位)。The estimated size of the structure returned, in bytes.

Return Value

Boolean

true如果根据给定的友好实例名称设置特定 SQL 实例的注册表路径根,则为; 否则为。否则为 falsetrue if the registry path root for a specific SQL instance is set by the given friendly instance name; otherwise, false.

Inheritance
DelegateGetSvcInstRootRegPathByName

Applies to