SPFarm.DiskSizeRequired property

Gets the amount of disk space that is required for a backup.

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

public ulong DiskSizeRequired { get; }

Property value

Type: System.UInt64
The value always equals 0. To find the total estimated disk space that is required to back up the farm, call the DiskSizeRequired method of the SPBackupRestoreConsole class, in which the GUID that is passed is the ID of the backup job that is created through the CreateBackupRestore method.

Implements

IBackupRestore.DiskSizeRequired

The DiskSizeRequired property implements the DiskSizeRequired property that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface for the SPFarm class.

Show: