共用方式為


TeamFoundationResourceManagementService.CreateComponent<TComponent> 方法 (TeamFoundationRequestContext, String)

建立可用於向資料庫版本的元件。

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

語法

'宣告
Public Function CreateComponent(Of TComponent As TeamFoundationSqlResourceComponent) ( _
    requestContext As TeamFoundationRequestContext, _
    databaseCategory As String _
) As TComponent
public TComponent CreateComponent<TComponent>(
    TeamFoundationRequestContext requestContext,
    string databaseCategory
)
where TComponent : TeamFoundationSqlResourceComponent

型別參數

  • TComponent

參數

傳回值

型別:TComponent

.NET Framework 安全性

請參閱

參考

TeamFoundationResourceManagementService 類別

CreateComponent 多載

Microsoft.TeamFoundation.Framework.Server 命名空間