Delen via


IComponentCreator.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
Function Create ( _
    connectionString As String, _
    commandTimeout As Integer, _
    deadlockPause As Integer, _
    maxDeadlockRetries As Integer _
) As TeamFoundationSqlResourceComponent
TeamFoundationSqlResourceComponent Create(
    string connectionString,
    int commandTimeout,
    int deadlockPause,
    int maxDeadlockRetries
)
TeamFoundationSqlResourceComponent^ Create(
    String^ connectionString, 
    int commandTimeout, 
    int deadlockPause, 
    int maxDeadlockRetries
)
abstract Create : 
        connectionString:string * 
        commandTimeout:int * 
        deadlockPause:int * 
        maxDeadlockRetries:int -> TeamFoundationSqlResourceComponent
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

.NET Framework Security

See Also

Reference

IComponentCreator Interface

Create Overload

Microsoft.TeamFoundation.Framework.Server Namespace