Share via


TeamFoundationDatabaseSettings.ReadDeadlockPause Method

This will first determine whether this database has a specific value for the deadlock pause, if not it will return the default value configured for all databases

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

Syntax

'Declaration
Public Function ReadDeadlockPause ( _
    requestContext As TeamFoundationRequestContext, _
    databaseName As String _
) As Integer
public int ReadDeadlockPause(
    TeamFoundationRequestContext requestContext,
    string databaseName
)
public:
int ReadDeadlockPause(
    TeamFoundationRequestContext^ requestContext, 
    String^ databaseName
)
member ReadDeadlockPause : 
        requestContext:TeamFoundationRequestContext * 
        databaseName:string -> int
public function ReadDeadlockPause(
    requestContext : TeamFoundationRequestContext, 
    databaseName : String
) : int

Parameters

  • databaseName
    Type: System.String

    Specific database to retrieve the settings for

Return Value

Type: System.Int32
Returns the deadlock pause to use for this connection

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseSettings Class

Microsoft.TeamFoundation.Framework.Server Namespace