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
- userPath
Type: System.String
- appendTrailingSlashIfNotPresent
Type: System.Boolean
- convertToBackslashes
Type: System.Boolean
Return Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.