Share via


SPWebApplicationBuilder.RootDirectory property

Gets or sets the file system directory in which to install static files such as Web.config for the new Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property RootDirectory As DirectoryInfo
    Get
    Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As DirectoryInfo

value = instance.RootDirectory

instance.RootDirectory = value
public DirectoryInfo RootDirectory { get; set; }

Property value

Type: System.IO.DirectoryInfo
A System.IO.DirectoryInfo object that specifies the file system directory.

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace