AbstractSourceControlTask.

SetGlobalOption(string, string, bool) Method

Summary

Adds a new global option if none exists. If one does exist then the use switch is toggled on or of.

Syntax

protected void SetGlobalOption(string name, string value, bool on)

Parameters

Name Type Description
name string The common name of the option.
value string The option value or command line switch of the option.
on bool
true
if the option should be appended to the command line, otherwise
false
.

Return Value

Type Description
void