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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- databaseId
Type: System.Int32
.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.