BuildSourceProviders.GitProperties.CreateBranchSpec Method
Namespace: Microsoft.TeamFoundation.Build.Common
Assembly: Microsoft.TeamFoundation.Build.Common (in Microsoft.TeamFoundation.Build.Common.dll)
Syntax
'Declaration
Public Shared Function CreateBranchSpec ( _
excludeBranch As Boolean, _
branch As String _
) As String
public static string CreateBranchSpec(
bool excludeBranch,
string branch
)
public:
static String^ CreateBranchSpec(
bool excludeBranch,
String^ branch
)
static member CreateBranchSpec :
excludeBranch:bool *
branch:string -> string
public static function CreateBranchSpec(
excludeBranch : boolean,
branch : String
) : String
Parameters
- excludeBranch
Type: System.Boolean
- branch
Type: System.String
Return Value
Type: System.String
Returns String.
.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.