共用方式為


SPWebApplication.LocalPaths property

取得本機電腦的 Web 應用程式表所服務的檔案路徑。

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

Syntax

'宣告
Protected Overridable ReadOnly Property LocalPaths As DirectoryInfo()
    Get
'用途
Dim value As DirectoryInfo()

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

Property value

Type: []
代表路徑System.IO.DirectoryInfo物件的陣列。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace