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
partitionId
Type: System.Int32The partition to delete.
.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.