ComponentCreator<TComponent>.Create Method (String, Int32, Int32, Int32)

Creates a component using connection string.

Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function Create ( _
    connectionString As String, _
    commandTimeout As Integer, _
    deadlockPause As Integer, _
    maxDeadlockRetries As Integer _
) As TeamFoundationSqlResourceComponent
public TeamFoundationSqlResourceComponent Create(
    string connectionString,
    int commandTimeout,
    int deadlockPause,
    int maxDeadlockRetries
)
public:
virtual TeamFoundationSqlResourceComponent^ Create(
    String^ connectionString, 
    int commandTimeout, 
    int deadlockPause, 
    int maxDeadlockRetries
) sealed
abstract Create : 
        connectionString:string * 
        commandTimeout:int * 
        deadlockPause:int * 
        maxDeadlockRetries:int -> TeamFoundationSqlResourceComponent  
override Create : 
        connectionString:string * 
        commandTimeout:int * 
        deadlockPause:int * 
        maxDeadlockRetries:int -> TeamFoundationSqlResourceComponent
public final function Create(
    connectionString : String, 
    commandTimeout : int, 
    deadlockPause : int, 
    maxDeadlockRetries : int
) : TeamFoundationSqlResourceComponent

Parameters

  • maxDeadlockRetries
    Type: System.Int32

    Maximum number of retries.

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent

Implements

IComponentCreator.Create(String, Int32, Int32, Int32)

.NET Framework Security

See Also

Reference

ComponentCreator<TComponent> Class

Create Overload

Microsoft.TeamFoundation.Framework.Server Namespace