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