TeamFoundationDatabaseSettings Class
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationDatabaseSettings
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationResourceManagementService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationRegistryService))> _
Public NotInheritable Class TeamFoundationDatabaseSettings _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public sealed class TeamFoundationDatabaseSettings : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))]
public ref class TeamFoundationDatabaseSettings sealed : ITeamFoundationService
[<Sealed>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationResourceManagementService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationRegistryService))>]
type TeamFoundationDatabaseSettings =
class
interface ITeamFoundationService
end
public final class TeamFoundationDatabaseSettings implements ITeamFoundationService
The TeamFoundationDatabaseSettings type exposes the following members.
Methods
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 a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MaskPassword | ||
QueryConnectionStrings | 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 |
Top
Events
Name | Description | |
---|---|---|
ConnectionStringsUpdated | This is fired whenever a connection string is added or updated. The List passed in will contain the updated connection strings. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ITeamFoundationService.ServiceEnd | ||
ITeamFoundationService.ServiceStart |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.