SPDeploymentSettings.FileLocation property
取得或設定放置內容移轉套件的目錄位置。
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property FileLocation As String
Get
Set
'用途
Dim instance As SPDeploymentSettings
Dim value As String
value = instance.FileLocation
instance.FileLocation = value
public string FileLocation { get; set; }
Property value
Type: System.String
包含目錄路徑string 。
備註
會設定或擷取內容移轉套件 (套件) 會放置或在匯出的檔案路徑及目錄位置。此值會提供SPDeploymentSettings類別建構函式 (SPDeploymentSettings) fileLocation參數。
此值可以是任何有效的 URI,例如http://www.MySite.com/或\\MySite\。