Share via


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)

Syntax

Public ReadOnly Property DiskSizeRequired As ULong
    Get

Dim instance As SPFarm
Dim value As ULong

value = instance.DiskSizeRequired
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

Remarks

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

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace