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