다음을 통해 공유


InstAPI.GetSQLToolsDirPath(StringBuilder, UInt32) 메서드

정의

SQL Server 도구 설치를 위한 디렉터리 루트를 검색합니다.

public:
 static bool GetSQLToolsDirPath(System::Text::StringBuilder ^ directoryPath, System::UInt32 % bufferSize);
public static bool GetSQLToolsDirPath (System.Text.StringBuilder directoryPath, ref uint bufferSize);
static member GetSQLToolsDirPath : System.Text.StringBuilder * uint32 -> bool
Public Shared Function GetSQLToolsDirPath (directoryPath As StringBuilder, ByRef bufferSize As UInteger) As Boolean

매개 변수

directoryPath
StringBuilder

레지스트리 경로를 받기 위한 버퍼에 대한 포인터입니다.

bufferSize
UInt32

버퍼 길이를 제공하기 위한 DWORD 값에 대한 포인터입니다. 제공된 버퍼가 너무 작은 경우 필요한 길이를 반환합니다.

반환

호출에 성공하면 TRUE를 반환하고, 호출에 실패하면 FALSE를 반환합니다.

설명

SQL Server 버전당 하나의 도구 설치가 아니라 instance 한 가지 도구만 설치됩니다.

적용 대상