Поделиться через


TeamFoundationDatabaseSettings.ReadTimeout Method

This will examine the specified database and retrieve the connection string. If the database is not configured, the then a null value is returned.

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

Syntax

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

Parameters

  • databaseName
    Type: System.String

    Specific database to retrieve the connection string for

Return Value

Type: System.Int32
Returns the connection string if the database is configured. Otherwise it returns null

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseSettings Class

Microsoft.TeamFoundation.Framework.Server Namespace