Sprache

PathWrapper.IsRooted Methode

Definition

Überlädt

Name Beschreibung
IsRooted(String)

Bestimmt, ob der Pfad einen Stamm enthält, z. B. einen UNC-Pfad oder einen Laufwerkbuchstaben auf Windows, oder beginnt mit / unter Linux, wenn der Pfad beginnt mit / der Pfad wird als Linux-Pfad behandelt, andernfalls als Windows Pfad

IsRooted(String, PathType)

Bestimmt, ob der Pfad einen Stamm enthält, z. B. einen UNC-Pfad oder einen Laufwerkbuchstaben auf Windows, oder beginnt mit / unter Linux.

IsRooted(String)

Bestimmt, ob der Pfad einen Stamm enthält, z. B. einen UNC-Pfad oder einen Laufwerkbuchstaben auf Windows, oder beginnt mit / unter Linux, wenn der Pfad beginnt mit / der Pfad wird als Linux-Pfad behandelt, andernfalls als Windows Pfad

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

Parameter

path
String

Gibt zurück

Gilt für:

IsRooted(String, PathType)

Bestimmt, ob der Pfad einen Stamm enthält, z. B. einen UNC-Pfad oder einen Laufwerkbuchstaben auf Windows, oder beginnt mit / unter 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

Parameter

path
String
pathType
PathType

Der Pfadtyp. If set to Unspecified - if the path starts with / the path is treated as a Linux path, otherwise as a Windows path

Gibt zurück

Gilt für: