Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Takes a build container path as either #/id/aaa/bbb or the http address and strips off the last part of the path. If there is not a '/' in the path the original path is returned.
Namespace:  Microsoft.TeamFoundation.Build.Common
Assembly:  Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function GetFolderName ( _
    fullPath As String _
) As String
public static string GetFolderName(
    string fullPath
)
public:
static String^ GetFolderName(
    String^ fullPath
)
static member GetFolderName : 
        fullPath:string -> string
public static function GetFolderName(
    fullPath : String
) : String
Parameters
- fullPath 
 Type: System.String- build container path 
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.