Freigeben über


TeamFoundationResourceManagementService.TryCreateComponentRaw<TComponent>-Methode

Erstellt eine Versionsangabe Komponente durch Lesen der Dienstversion aus der Datenbank. Keine Cache verwendet werden.

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

Syntax

'Declaration
Public Shared Function TryCreateComponentRaw(Of TComponent As {New, TeamFoundationSqlResourceComponent}) ( _
    connectionString As String, _
    commandTimeout As Integer, _
    deadlockPause As Integer, _
    maxDeadlockRetries As Integer, _
    <OutAttribute> ByRef component As TComponent, _
    handleNoResourceManagementSchema As Boolean _
) As Boolean
public static bool TryCreateComponentRaw<TComponent>(
    string connectionString,
    int commandTimeout,
    int deadlockPause,
    int maxDeadlockRetries,
    out TComponent component,
    bool handleNoResourceManagementSchema
)
where TComponent : new(), TeamFoundationSqlResourceComponent

Typparameter

  • TComponent

Parameter

  • component
    Typ: TComponent%

Rückgabewert

Typ: System.Boolean

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationResourceManagementService Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace