[This is preliminary documentation and is subject to change.]

Delete a branch from the repository

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)

Syntax

C#
public void DeleteBranchSpec(
	BranchSpec branch,
	Options options
)
Visual Basic
Public Sub DeleteBranchSpec ( _
	branch As BranchSpec, _
	options As Options _
)
Visual C++
public:
void DeleteBranchSpec(
	BranchSpec^ branch, 
	Options^ options
)

Parameters

branch
Type: Perforce.P4..::..BranchSpec
The branch to be deleted
options
Type: Perforce.P4..::..Options
The 'f' and '-d' flags are valid when deleting an existing branch

See Also