TeamFoundationResourceManagementService.TryCreateComponentRaw<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 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
public:
generic<typename TComponent>
where TComponent : gcnew(), TeamFoundationSqlResourceComponent
static bool TryCreateComponentRaw(
String^ connectionString,
int commandTimeout,
int deadlockPause,
int maxDeadlockRetries,
[OutAttribute] TComponent% component,
bool handleNoResourceManagementSchema
)
static member TryCreateComponentRaw :
connectionString:string *
commandTimeout:int *
deadlockPause:int *
maxDeadlockRetries:int *
component:'TComponent byref *
handleNoResourceManagementSchema:bool -> bool 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
- component
Type: TComponent%
- handleNoResourceManagementSchema
Type: System.Boolean
Return Value
Type: System.Boolean
.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.