Share via


TeamFoundationResourceManagementService.TryGetServiceVersionRaw<TComponent>-Methode

Ruft einen Dienstversionseintrags- und -Komponentenersteller für eine bestimmte Komponente aus der Datenbank ab. 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 TryGetServiceVersionRaw(Of TComponent As {New, TeamFoundationSqlResourceComponent}) ( _
    connectionString As String, _
    <OutAttribute> ByRef serviceVersionEntry As ServiceVersionEntry, _
    <OutAttribute> ByRef componentCreator As IComponentCreator, _
    handleNoResourceManagementSchema As Boolean _
) As Boolean
public static bool TryGetServiceVersionRaw<TComponent>(
    string connectionString,
    out ServiceVersionEntry serviceVersionEntry,
    out IComponentCreator componentCreator,
    bool handleNoResourceManagementSchema
)
where TComponent : new(), TeamFoundationSqlResourceComponent

Typparameter

  • TComponent

Parameter

  • connectionString
    Typ: System.String
    Datenbankverbindungszeichenfolge

Rückgabewert

Typ: System.Boolean

Hinweise

Wenn eine transitionCreator Komponente registriert wird, wird componentCreator festgelegt, wenn serviceVersionEntry, ist NULL.

.NET Framework-Sicherheit

Siehe auch

Referenz

TeamFoundationResourceManagementService Klasse

Microsoft.TeamFoundation.Framework.Server-Namespace