Partager via


TeamFoundationDatabaseManagementService.IncrementTenantsPendingDelete Method

Indicate that current tenants registered to this database are pending deletion. The number of tenants pending delete will be incremented by the provieded tenantCount. The tenant count will be decremented when the delete is actually processed.

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

Syntax

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

Parameters

  • databaseId
    Type: System.Int32

    The database where the tenants are contained.

  • tenantCount
    Type: System.Int32

    The number of tenants that are being marked for deletion.

.NET Framework Security

See Also

Reference

TeamFoundationDatabaseManagementService Class

Microsoft.TeamFoundation.Framework.Server Namespace