PathWrapper.GetDirectoryName 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| GetDirectoryName(String) |
경로가 지정된 디렉터리 문자열을 반환합니다. XI 경로를 처리합니다. 간단한 래퍼이므로 가비지 인|가비지 아웃. |
| GetDirectoryName(String, PathType) |
경로가 지정된 디렉터리 문자열을 반환합니다. XI 경로를 처리합니다. 간단한 래퍼이므로 가비지 인|가비지 아웃. |
GetDirectoryName(String)
GetDirectoryName(String, PathType)
경로가 지정된 디렉터리 문자열을 반환합니다. XI 경로를 처리합니다. 간단한 래퍼이므로 가비지 인|가비지 아웃.
public static string GetDirectoryName(string s1, Microsoft.SqlServer.Management.Smo.PathType pathType);
static member GetDirectoryName : string * Microsoft.SqlServer.Management.Smo.PathType -> string
Public Shared Function GetDirectoryName (s1 As String, pathType As PathType) As String
매개 변수
- s1
- String
원래 경로입니다.
- pathType
- PathType
경로의 형식입니다. 지정되지 않은 경우 s1이 /로 시작하는 경우 함수는 Linux를 사용하고, 그렇지 않으면 Windows
반품
디렉터리 문자열