PathWrapper.IsRooted Méthode

Définition

Surcharges

Nom Description
IsRooted(String)

Détermine si le chemin inclut une racine, telle qu’un chemin UNC ou une lettre de lecteur sur Windows, ou commence par / sur Linux Si le chemin commence par / le chemin est traité comme un chemin Linux, sinon comme un chemin d’accès Windows

IsRooted(String, PathType)

Détermine si le chemin inclut une racine, telle qu’un chemin UNC ou une lettre de lecteur sur Windows, ou commence par / sur Linux

IsRooted(String)

Détermine si le chemin inclut une racine, telle qu’un chemin UNC ou une lettre de lecteur sur Windows, ou commence par / sur Linux Si le chemin commence par / le chemin est traité comme un chemin Linux, sinon comme un chemin d’accès Windows

public static bool IsRooted(string path);
static member IsRooted : string -> bool
Public Shared Function IsRooted (path As String) As Boolean

Paramètres

path
String

Retours

S’applique à

IsRooted(String, PathType)

Détermine si le chemin inclut une racine, telle qu’un chemin UNC ou une lettre de lecteur sur Windows, ou commence par / sur Linux

public static bool IsRooted(string path, Microsoft.SqlServer.Management.Smo.PathType pathType);
static member IsRooted : string * Microsoft.SqlServer.Management.Smo.PathType -> bool
Public Shared Function IsRooted (path As String, pathType As PathType) As Boolean

Paramètres

path
String
pathType
PathType

Type de chemin d’accès. S’il est défini sur Non spécifié : si le chemin commence par / le chemin d’accès est traité comme un chemin Linux, sinon comme un chemin d’accès Windows

Retours

S’applique à