Partager via


TeamFoundationResourceManagementService.CreateComponentRaw<TComponent> Method

Creates a versioned component by reading the service version from the database. No caches are used.

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

Syntax

'Declaration
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
public:
generic<typename TComponent>
where TComponent : gcnew(), TeamFoundationSqlResourceComponent 
static TComponent CreateComponentRaw(
    String^ connectionString, 
    int commandTimeout, 
    int deadlockPause, 
    int maxDeadlockRetries, 
    bool handleNoResourceManagementSchema
)
static member CreateComponentRaw : 
        connectionString:string * 
        commandTimeout:int * 
        deadlockPause:int * 
        maxDeadlockRetries:int * 
        handleNoResourceManagementSchema:bool -> 'TComponent  when 'TComponent : new() and 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

Microsoft.TeamFoundation.Framework.Server Namespace