Share via


SPRestoreEventArgs.SiteCollectionUrl property

Gets or sets the URL of the site collection that was restored by the operation that raises the ObjectsRestored event.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property SiteCollectionUrl As String
    Get
    Friend Set
'Usage
Dim instance As SPRestoreEventArgs
Dim value As String

value = instance.SiteCollectionUrl
public string SiteCollectionUrl { get; internal set; }

Property value

Type: System.String
A String that represents the URL of the site collection that was restored.

Remarks

This property has no meaning when RestoreType is Catastrophic because more than a site collection is being restored.

See also

Reference

SPRestoreEventArgs class

SPRestoreEventArgs members

Microsoft.SharePoint.Administration.Backup namespace