TeamFoundationServiceException.ExtractInts 方法

解析 SqlError 訊息並擷取索引鍵所識別的欄位。

命名空間:  Microsoft.TeamFoundation.Framework.Server
組件:  Microsoft.TeamFoundation.Framework.Server (在 Microsoft.TeamFoundation.Framework.Server.dll 中)

語法

'宣告
Public Shared Function ExtractInts ( _
    error As SqlError, _
    key As String _
) As List(Of Integer)
public static List<int> ExtractInts(
    SqlError error,
    string key
)

參數

傳回值

類型:System.Collections.Generic.List<Int32>
整數值的清單,如果找到。

備註

搜尋模式 %key=value% 並傳回視為 int。

.NET Framework 安全性

請參閱

參考

TeamFoundationServiceException 類別

Microsoft.TeamFoundation.Framework.Server 命名空間