DatabasePartitionComponent2.DeletePartition Method

Deletes a partition. Deletes all content belonging to the partition and removes its row from tbl_DatabasePartitionMap. The partition must be set to the "Deleted" status.

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

Syntax

'Declaration
Public Sub DeletePartition ( _
    partitionId As Integer _
)
public void DeletePartition(
    int partitionId
)
public:
void DeletePartition(
    int partitionId
)
member DeletePartition : 
        partitionId:int -> unit
public function DeletePartition(
    partitionId : int
)

Parameters

.NET Framework Security

See Also

Reference

DatabasePartitionComponent2 Class

Microsoft.TeamFoundation.Framework.Server Namespace