Share via


SPDeploymentSettings.SiteUrl Property

Gets or sets the absolute URL of a source or destination Web site.

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

Syntax

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

value = instance.SiteUrl

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

Property Value

Type: System.String
A string containing the URL.

Remarks

Sets or retrieves the URL of site collection that contains the content that is being exported, or to which the content is to be imported. The value is an absolute URL to the site. This value is provided in the siteUrl parameter of the SPDeploymentSettings class constructor (SPDeploymentSettings).

See Also

Reference

SPDeploymentSettings Class

SPDeploymentSettings Members

Microsoft.SharePoint.Deployment Namespace