共用方式為


SPWebApplication.LocalPaths Property

Gets the paths on the local machine to files that are served by the Web application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected Overridable ReadOnly Property LocalPaths As DirectoryInfo()
    Get
'Usage
Dim value As DirectoryInfo()

value = Me.LocalPaths
protected virtual DirectoryInfo[] LocalPaths { get; }

Property Value

Type: []
An array of System.IO.DirectoryInfo objects that represents the paths.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace