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
farm
Type: Microsoft.SharePoint.Administration.SPFarmThe farm for which the backup and restore settings will be presisted.
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