BuildCommonUtil.GetCommonServerPath 方法
判斷所有之間最長通用根路徑提供的項目。
命名空間: Microsoft.TeamFoundation.Build.Common
組件: Microsoft.TeamFoundation.Build.Common (在 Microsoft.TeamFoundation.Build.Common.dll 中)
語法
'宣告
Public Shared Function GetCommonServerPath ( _
serverItems As IEnumerable(Of String) _
) As String
public static string GetCommonServerPath(
IEnumerable<string> serverItems
)
參數
- serverItems
類型:System.Collections.Generic.IEnumerable<String>
伺服器路徑。
傳回值
類型:System.String
最常見的路徑或空字串
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。