Share via


DelegateGetSvcBinPathByInstName 대리자

정의

지정된 인스턴스 이름으로 SQL Server 서비스의 프로그램 파일 루트 디렉터리를 나타냅니다.

public delegate bool DelegateGetSvcBinPathByInstName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcBinPathByInstName(string sInstanceName, SQL_SVCS Service, StringBuilder sPath, out uint pdwSize);
type DelegateGetSvcBinPathByInstName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcBinPathByInstName(sInstanceName As String, Service As SQL_SVCS, sPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

매개 변수

sInstanceName
String

instance 이름을 나타내는 String 값입니다.

Service
SQL_SVCS

SQL 서비스입니다.

sPath
StringBuilder

경로를 받기 위한 버퍼에 대한 포인터입니다.

pdwSize
UInt32

제공된 버퍼가 너무 작은 경우 필요한 길이를 반환합니다.

반환 값

Boolean 값은 지정된 친숙한 instance 이름으로 SQL Server 서비스에 대한 프로그램 파일 루트 디렉터리를 포함합니다.

적용 대상