DBPath.UserToDatabasePath Method (String, 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 _
) As String
public static string UserToDatabasePath(
string userPath,
bool appendTrailingSlashIfNotPresent
)
public:
static String^ UserToDatabasePath(
String^ userPath,
bool appendTrailingSlashIfNotPresent
)
static member UserToDatabasePath :
userPath:string *
appendTrailingSlashIfNotPresent:bool -> string
public static function UserToDatabasePath(
userPath : String,
appendTrailingSlashIfNotPresent : boolean
) : String
Parameters
- userPath
Type: System.String
- appendTrailingSlashIfNotPresent
Type: System.Boolean
Return Value
Type: System.String
Returns 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.