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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
databaseCategory
Type: System.StringSpecific database to remove connection string
Return Value
Type: System.Boolean
Returns whether the connection string was found and removed
.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.