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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Return Value
Type: TComponent
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.