Partilhar 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)
Available in Sandboxed Solutions: No

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