PathWrapper.GetDirectoryName メソッド

定義

オーバーロード

名前 説明
GetDirectoryName(String)

パスを指定してディレクトリ文字列を返します。 XI パスを処理します。 これは単純なラッパーなので、ガベージインになります|ガベージ アウト。

GetDirectoryName(String, PathType)

パスを指定してディレクトリ文字列を返します。 XI パスを処理します。 これは単純なラッパーなので、ガベージインになります|ガベージ アウト。

GetDirectoryName(String)

パスを指定してディレクトリ文字列を返します。 XI パスを処理します。 これは単純なラッパーなので、ガベージインになります|ガベージ アウト。

public static string GetDirectoryName(string s1);
static member GetDirectoryName : string -> string
Public Shared Function GetDirectoryName (s1 As String) As String

パラメーター

s1
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それ以外の場合

返品

ディレクトリ文字列

適用対象