Delen via


TeamFoundationDatabaseManagementService.RemoveDatabase Method

Unregister a database from database management. Delete and Detach operations must call this method to remove a database from tbl_Database.

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

Syntax

'Declaration
Public Sub RemoveDatabase ( _
    requestContext As TeamFoundationRequestContext, _
    databaseId As Integer _
)
public void RemoveDatabase(
    TeamFoundationRequestContext requestContext,
    int databaseId
)
public:
void RemoveDatabase(
    TeamFoundationRequestContext^ requestContext, 
    int databaseId
)
member RemoveDatabase : 
        requestContext:TeamFoundationRequestContext * 
        databaseId:int -> unit
public function RemoveDatabase(
    requestContext : TeamFoundationRequestContext, 
    databaseId : int
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace