共用方式為


SPBackupRestoreConsoleObject.Settings Property

Gets an object that holds settings for the backup or restore operation.

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 SPBackupRestoreConsoleObject
Dim value As SPBackupRestoreSettings

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

Property Value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreSettings
Either an SPBackupSettings or a SPRestoreSettings that holds settings for the operation such as the number of backup threads, if the operation is a backup, or the ID of the backup that is being restored, if the operation is a restore.

See Also

Reference

SPBackupRestoreConsoleObject Class

SPBackupRestoreConsoleObject Members

Microsoft.SharePoint.Administration.Backup Namespace