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
- connectionString
Type: System.String
- commandTimeout
Type: System.Int32
- deadlockPause
Type: System.Int32
- maxDeadlockRetries
Type: System.Int32
- handleNoResourceManagementSchema
Type: System.Boolean
Return Value
Type: TComponent
.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.