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.Stringdatabase connection string
serviceVersionEntry
Type: Microsoft.TeamFoundation.Framework.Server.ServiceVersionEntry%The service version entry from database, or null if not found.
componentCreator
Type: Microsoft.TeamFoundation.Framework.Server.IComponentCreator%an IComponentCreator that can be used to create the associated versioned component, or null if a matching one could not be found.
- handleNoResourceManagementSchema
Type: System.Boolean
Remarks
If a transitionCreator component is registered, componentCreator will be set even if serviceVersionEntry is null.
.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.