This documentation is archived and is not being maintained.
TeamFoundationDatabaseSettings Class
Visual Studio 2013
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))] [TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))] [TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))] public ref class TeamFoundationDatabaseSettings sealed : ITeamFoundationService
The TeamFoundationDatabaseSettings type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ClearConnectionString | This will remove a connection string for a specified database. |
![]() ![]() | ClearSqlConnectionPool | Clears the SQL connection pool for all the supplied connection strings. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetAllConnectionStrings | Builds a collection of the connection strings to likely used by TFS to access this host. Useful for clearing the SQL connection pool. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | QueryConnectionStrings(TeamFoundationRequestContext) | Returns connection strings for each logical database. |
![]() ![]() | QueryConnectionStrings(String, Guid) | Returns connection strings for each logical database. |
![]() | ReadConnectionString | This will examine the specified database and retrieve the connection string. If the database is not configured, the then a null value is returned. |
![]() | ReadConnectionTimeout | |
![]() | ReadDeadlockPause | 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 |
![]() | ReadDeadlockRetryCount | This will first determine whether this database has a specific value for the deadlock retry count, if not it will return the default value configured for all databases |
![]() | ReadExecutionTimeThreshold | Read the ExecutionTimeThreshold |
![]() | ReadLoggingOptions | Read the logging options |
![]() | ReadPerformanceOptions | Read the performance options |
![]() | ReadTimeout | This will examine the specified database and retrieve the connection string. If the database is not configured, the then a null value is returned. |
![]() | SetConnectionString | This will set the connection string for a specified database. This immediately clears the cache. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ValidateCategory | ValidateCategory is used to make sure that the requestContext has the right to access the database and that the schema version matches between the component and the extended property |
| Name | Description | |
|---|---|---|
![]() | ConnectionStringsUpdated | This is fired whenever a connection string is added or updated. The List passed in will contain the updated connection strings. |
Show:
