Root Property

NAnt SDK Documentation - v0.92 |

# AbstractSourceControlTask.Root Property

The root variable contains information on how to locate a repository. Although this information is in different formats it typically must define the following:

server location
protocol used to communicate with the repository
repository location on the server
project location in the repository

[Visual Basic]
<StringValidator(AllowEmpty:=False, Expression:="null", ExpressionErrorMessage:="null")>
Overridable Public Property Root As String
[C#]
[StringValidator(AllowEmpty=False, Expression="null", ExpressionErrorMessage="null")]
public virtual string Root {get; set;}

#### See Also

AbstractSourceControlTask Class | NAnt.SourceControl.Tasks Namespace