InstAPI.GetSQLDataRootByInstName(String, StringBuilder, UInt32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 인스턴스 이름으로 SQL 데이터 파일 루트 디렉터리를 검색합니다.
public:
static bool GetSQLDataRootByInstName(System::String ^ instanceName, System::Text::StringBuilder ^ directoryPath, System::UInt32 % bufferSize);
public static bool GetSQLDataRootByInstName(string instanceName, System.Text.StringBuilder directoryPath, ref uint bufferSize);
static member GetSQLDataRootByInstName : string * System.Text.StringBuilder * uint32 -> bool
Public Shared Function GetSQLDataRootByInstName (instanceName As String, directoryPath As StringBuilder, ByRef bufferSize As UInteger) As Boolean
매개 변수
- directoryPath
- StringBuilder
경로를 받기 위한 버퍼에 대한 포인터입니다.
- bufferSize
- UInt32
버퍼 길이를 제공하기 위한 DWORD 값에 대한 포인터입니다. 제공된 버퍼가 너무 작은 경우 필요한 길이를 반환합니다.
반환
호출에 성공하면 true이고, 그렇지 않으면 false입니다.