共用方式為


SPRestoreEventArgs.Settings Property

Gets an object that represents the restore settings that were used by the restore operation that raised the ObjectsRestored event.

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

Syntax

'Declaration
Public ReadOnly Property Settings As SPBackupRestoreSettings
    Get
'Usage
Dim instance As SPRestoreEventArgs
Dim value As SPBackupRestoreSettings

value = instance.Settings
public SPBackupRestoreSettings Settings { get; }

Property Value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreSettings
An SPBackupRestoreSettings object that represents the settings that were used by the restoration operation.

Remarks

In practice, this will always return an SPRestoreSettings object.

See Also

Reference

SPRestoreEventArgs Class

SPRestoreEventArgs Members

Microsoft.SharePoint.Administration.Backup Namespace