PathWrapper.IsRooted Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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