PathWrapper.GetDirectoryName Méthode

Définition

Surcharges

Nom Description
GetDirectoryName(String)

Retourne la chaîne de répertoire en fonction d’un chemin d’accès. Gère le chemin XI. Il s’agit d’un wrapper simple afin qu’il soit Garbage-In|Garbage-out.

GetDirectoryName(String, PathType)

Retourne la chaîne de répertoire en fonction d’un chemin d’accès. Gère le chemin XI. Il s’agit d’un wrapper simple afin qu’il soit Garbage-In|Garbage-out.

GetDirectoryName(String)

Retourne la chaîne de répertoire en fonction d’un chemin d’accès. Gère le chemin XI. Il s’agit d’un wrapper simple afin qu’il soit Garbage-In|Garbage-out.

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

Paramètres

s1
String

Chemin d’accès d’origine.

Retours

chaîne de répertoire

S’applique à

GetDirectoryName(String, PathType)

Retourne la chaîne de répertoire en fonction d’un chemin d’accès. Gère le chemin XI. Il s’agit d’un wrapper simple afin qu’il soit Garbage-In|Garbage-out.

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

Paramètres

s1
String

Chemin d’accès d’origine.

pathType
PathType

type de chemin d’accès. Si elle n’est pas spécifiée, la fonction utilise Linux si s1 commence par /, Windows sinon

Retours

chaîne de répertoire

S’applique à