VersionControlServer.DeleteBranchObject Method
Deletes a BranchObject and all associated properties from Team Foundation Server.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub DeleteBranchObject ( _
branch As ItemIdentifier _
)
public void DeleteBranchObject(
ItemIdentifier branch
)
public:
void DeleteBranchObject(
ItemIdentifier^ branch
)
member DeleteBranchObject :
branch:ItemIdentifier -> unit
public function DeleteBranchObject(
branch : ItemIdentifier
)
Parameters
- branch
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemIdentifier
Item identifier of the BranchObject 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.