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


TeamFoundationDatabaseSettings.ClearConnectionString Method

This will remove a connection string for a specified database.

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

Syntax

'Declaration
Public Function ClearConnectionString ( _
    requestContext As TeamFoundationRequestContext, _
    databaseCategory As String _
) As Boolean
public bool ClearConnectionString(
    TeamFoundationRequestContext requestContext,
    string databaseCategory
)
public:
bool ClearConnectionString(
    TeamFoundationRequestContext^ requestContext, 
    String^ databaseCategory
)
member ClearConnectionString : 
        requestContext:TeamFoundationRequestContext * 
        databaseCategory:string -> bool
public function ClearConnectionString(
    requestContext : TeamFoundationRequestContext, 
    databaseCategory : String
) : boolean

Parameters

  • databaseCategory
    Type: System.String

    Specific database to remove connection string

Return Value

Type: System.Boolean
Returns whether the connection string was found and removed

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseSettings Class

Microsoft.TeamFoundation.Framework.Server Namespace