PathWrapper.Combine 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 |
|---|---|
| Combine(String, String) |
Combinez 2 chaînes de chemin d’accès. Nécessaire pour gérer également le chemin XI. |
| Combine(String, String, PathType) |
Combinez 2 chaînes de chemin d’accès. Nécessaire pour gérer également le chemin XI. |
Combine(String, String)
Combinez 2 chaînes de chemin d’accès. Nécessaire pour gérer également le chemin XI.
public static string Combine(string path1, string path2);
static member Combine : string * string -> string
Public Shared Function Combine (path1 As String, path2 As String) As String
Paramètres
- path1
- String
Première chaîne.
- path2
- String
Deuxième chaîne
Retours
Chaîne de chemin d’accès combiné
S’applique à
Combine(String, String, PathType)
Combinez 2 chaînes de chemin d’accès. Nécessaire pour gérer également le chemin XI.
public static string Combine(string path1, string path2, Microsoft.SqlServer.Management.Smo.PathType pathType);
static member Combine : string * string * Microsoft.SqlServer.Management.Smo.PathType -> string
Public Shared Function Combine (path1 As String, path2 As String, pathType As PathType) As String
Paramètres
- path1
- String
Première chaîne.
- path2
- String
Deuxième chaîne
- 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 chemin d’accès combiné