Dela via


TeamFoundationResourceManagementService.GetServiceVersionRaw<TComponent> Method

Retrieves a service version entry and component creator for a given component 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 Sub GetServiceVersionRaw(Of TComponent As {New, TeamFoundationSqlResourceComponent}) ( _
    connectionString As String, _
    <OutAttribute> ByRef serviceVersionEntry As ServiceVersionEntry, _
    <OutAttribute> ByRef componentCreator As IComponentCreator, _
    handleNoResourceManagementSchema As Boolean _
)
public static void GetServiceVersionRaw<TComponent>(
    string connectionString,
    out ServiceVersionEntry serviceVersionEntry,
    out IComponentCreator componentCreator,
    bool handleNoResourceManagementSchema
)
where TComponent : new(), TeamFoundationSqlResourceComponent
public:
generic<typename TComponent>
where TComponent : gcnew(), TeamFoundationSqlResourceComponent 
static void GetServiceVersionRaw(
    String^ connectionString, 
    [OutAttribute] ServiceVersionEntry^% serviceVersionEntry, 
    [OutAttribute] IComponentCreator^% componentCreator, 
    bool handleNoResourceManagementSchema
)
static member GetServiceVersionRaw : 
        connectionString:string * 
        serviceVersionEntry:ServiceVersionEntry byref * 
        componentCreator:IComponentCreator byref * 
        handleNoResourceManagementSchema:bool -> unit   when 'TComponent : new() and TeamFoundationSqlResourceComponent
JScript does not support generic types or methods.

Type Parameters

  • TComponent

Parameters

  • connectionString
    Type: System.String

    database connection string

Remarks

If a transitionCreator component is registered, componentCreator will be set even if serviceVersionEntry is null.

.NET Framework Security

See Also

Reference

TeamFoundationResourceManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace