Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Decrement the current tenant count on a database. This call should be made if AcquireDatabase was succefully called previously, but the caller either failed or no longer needs the database.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub ReleaseDatabasePartition ( _
requestContext As TeamFoundationRequestContext, _
databaseId As Integer, _
partitionDeleted As Boolean _
)
public void ReleaseDatabasePartition(
TeamFoundationRequestContext requestContext,
int databaseId,
bool partitionDeleted
)
public:
void ReleaseDatabasePartition(
TeamFoundationRequestContext^ requestContext,
int databaseId,
bool partitionDeleted
)
member ReleaseDatabasePartition :
requestContext:TeamFoundationRequestContext *
databaseId:int *
partitionDeleted:bool -> unit
public function ReleaseDatabasePartition(
requestContext : TeamFoundationRequestContext,
databaseId : int,
partitionDeleted : boolean
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
databaseId
Type: System.Int32The id of the database to lower the tenant count on.
partitionDeleted
Type: System.BooleanTrue if a partition is being released because it is marked for deletion. This is used to signal a cleanup job.
.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.