Partilhar via


SPDeploymentSettings.FileLocation Property

Gets or sets the directory location where content migration packages are placed.

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

Syntax

'Declaration
Public Property FileLocation As String
    Get
    Set
'Usage
Dim instance As SPDeploymentSettings
Dim value As String

value = instance.FileLocation

instance.FileLocation = value
public string FileLocation { get; set; }

Property Value

Type: System.String
A string containing the directory path.

Remarks

Sets or retrieves the file path and directory location where the content migration package (or packages) are placed on export. This value is provided in the fileLocation parameter of the SPDeploymentSettings class constructor (SPDeploymentSettings).

This value can be any valid URI, for example, http://www.MySite.com/ or \\MySite\.

See Also

Reference

SPDeploymentSettings Class

SPDeploymentSettings Members

Microsoft.SharePoint.Deployment Namespace