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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
databaseName
Type: System.StringSpecific 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
- 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.