Delen via


TeamFoundationResourceManagementService.CreateComponent<TComponent> Method (TeamFoundationRequestContext)

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 _
) As TComponent
public TComponent CreateComponent<TComponent>(
    TeamFoundationRequestContext requestContext
)
where TComponent : TeamFoundationSqlResourceComponent
public:
generic<typename TComponent>
where TComponent : TeamFoundationSqlResourceComponent
TComponent CreateComponent(
    TeamFoundationRequestContext^ requestContext
)
member CreateComponent : 
        requestContext:TeamFoundationRequestContext -> '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