共用方式為


SPRestoreEventArgs.SiteCollectionUrl property

取得或設定由ObjectsRestored事件將會引發的作業已還原的網站集合的 URL。

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

Syntax

'宣告
Public Property SiteCollectionUrl As String
    Get
    Friend Set
'用途
Dim instance As SPRestoreEventArgs
Dim value As String

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

Property value

Type: System.String
String ,表示已還原的網站集合的 URL。

備註

有沒有表示RestoreTypeCatastrophic ,因為還原網站集合超過時,此屬性。

請參閱

參照

SPRestoreEventArgs class

SPRestoreEventArgs members

Microsoft.SharePoint.Administration.Backup namespace