DBPath.UserToDatabasePath Method (String, Boolean, Boolean)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Shared Function UserToDatabasePath ( _
    userPath As String, _
    appendTrailingSlashIfNotPresent As Boolean, _
    convertToBackslashes As Boolean _
) As String
public static string UserToDatabasePath(
    string userPath,
    bool appendTrailingSlashIfNotPresent,
    bool convertToBackslashes
)
public:
static String^ UserToDatabasePath(
    String^ userPath, 
    bool appendTrailingSlashIfNotPresent, 
    bool convertToBackslashes
)
static member UserToDatabasePath : 
        userPath:string * 
        appendTrailingSlashIfNotPresent:bool * 
        convertToBackslashes:bool -> string
public static function UserToDatabasePath(
    userPath : String, 
    appendTrailingSlashIfNotPresent : boolean, 
    convertToBackslashes : boolean
) : String

Parameters

Return Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

DBPath Class

UserToDatabasePath Overload

Microsoft.TeamFoundation.Framework.Server Namespace