Share via


BuildContainerPath.GetFolderName Method

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

Return Value

Type: System.String
Returns String.

.NET Framework Security

See Also

Reference

BuildContainerPath Class

Microsoft.TeamFoundation.Build.Common Namespace