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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property DiskSizeRequired As ULong
    Get
'Usage
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