共用方式為


TeamFoundationResourceManagementService.CreateComponentRaw<TComponent> 方法

您可以從資料庫讀取服務版本建立已建立版本的元件。 不使用快取。

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

語法

'宣告
Public Shared Function CreateComponentRaw(Of TComponent As {New, TeamFoundationSqlResourceComponent}) ( _
    connectionString As String, _
    commandTimeout As Integer, _
    deadlockPause As Integer, _
    maxDeadlockRetries As Integer, _
    handleNoResourceManagementSchema As Boolean _
) As TComponent
public static TComponent CreateComponentRaw<TComponent>(
    string connectionString,
    int commandTimeout,
    int deadlockPause,
    int maxDeadlockRetries,
    bool handleNoResourceManagementSchema
)
where TComponent : new(), TeamFoundationSqlResourceComponent

型別參數

  • TComponent

參數

傳回值

型別:TComponent

.NET Framework 安全性

請參閱

參考

TeamFoundationResourceManagementService 類別

Microsoft.TeamFoundation.Framework.Server 命名空間