Compartilhar 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