Поделиться через


TeamFoundationResourceManagementService.CreateComponent<TComponent> Method (TeamFoundationRequestContext, String)

Creates a component that can be used to communicate to the current version of the database.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
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
public:
generic<typename TComponent>
where TComponent : TeamFoundationSqlResourceComponent
TComponent CreateComponent(
    TeamFoundationRequestContext^ requestContext, 
    String^ databaseCategory
)
member CreateComponent : 
        requestContext:TeamFoundationRequestContext * 
        databaseCategory:string -> 'TComponent  when 'TComponent : TeamFoundationSqlResourceComponent
JScript does not support generic types or methods.

Type Parameters

  • TComponent

Parameters

Return Value

Type: TComponent

.NET Framework Security

See Also

Reference

TeamFoundationResourceManagementService Class

CreateComponent Overload

Microsoft.TeamFoundation.Framework.Server Namespace