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.
Determines the longest common root path between all provided items.
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function GetCommonServerPath ( _
serverItems As IEnumerable(Of String) _
) As String
public static string GetCommonServerPath(
IEnumerable<string> serverItems
)
public:
static String^ GetCommonServerPath(
IEnumerable<String^>^ serverItems
)
static member GetCommonServerPath :
serverItems:IEnumerable<string> -> string
public static function GetCommonServerPath(
serverItems : IEnumerable<String>
) : String
Parameters
serverItems
Type: System.Collections.Generic.IEnumerable<String>The server paths
Return Value
Type: System.String
The most common path or the empty 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.