SPIisSettings.Path property
取得或設定包含虛擬目錄的 Web 應用程式的檔案的資料夾之本機檔案系統路徑。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property Path As DirectoryInfo
Get
Set
'用途
Dim instance As SPIisSettings
Dim value As DirectoryInfo
value = instance.Path
instance.Path = value
public DirectoryInfo Path { get; set; }
Property value
Type: System.IO.DirectoryInfo
指定的本機檔案系統路徑,例如System.IO.DirectoryInfo物件: C:\Inetpub\wwwroot\wss\VirtualDirectories\80。