共用方式為


SPBackupRestoreConfigurationSettings.CreateSettings Method

Creates an SPBackupRestoreConfigurationSettings object for the farm.

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

Syntax

'Declaration
Public Shared Function CreateSettings ( _
    farm As SPFarm _
) As SPBackupRestoreConfigurationSettings
'Usage
Dim farm As SPFarm
Dim returnValue As SPBackupRestoreConfigurationSettings

returnValue = SPBackupRestoreConfigurationSettings.CreateSettings(farm)
public static SPBackupRestoreConfigurationSettings CreateSettings(
    SPFarm farm
)

Parameters

Return Value

Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreConfigurationSettings
An SPBackupRestoreConfigurationSettings that represents the backup and restore configuration settings for the farm.

See Also

Reference

SPBackupRestoreConfigurationSettings Class

SPBackupRestoreConfigurationSettings Members

Microsoft.SharePoint.Administration.Backup Namespace