SPBackupRestoreConsole.DiskSizeRequired Method (Guid, SPBackupRestoreObject, Boolean)
Gets the amount of disk space needed to backup the specified node (and its children) in the tree of components in the specified backup operation.
Namespace: Microsoft.SharePoint.Administration.Backup
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function DiskSizeRequired ( _
id As Guid, _
node As SPBackupRestoreObject, _
configurationOnly As Boolean _
) As ULong
'Usage
Dim id As Guid
Dim node As SPBackupRestoreObject
Dim configurationOnly As Boolean
Dim returnValue As ULong
returnValue = SPBackupRestoreConsole.DiskSizeRequired(id, _
node, configurationOnly)
public static ulong DiskSizeRequired(
Guid id,
SPBackupRestoreObject node,
bool configurationOnly
)
Parameters
id
Type: System.GuidThe Guid ID of the SPBackupRestoreConsoleObject that represents the backup operation.
node
Type: Microsoft.SharePoint.Administration.Backup.SPBackupRestoreObjectThe SPBackupRestoreObject that represents the component that would be backed up if the operation identified by id proceeds.
configurationOnly
Type: System.Booleantrue to report the size required in a configuration-only backup; otherwise false.
Return Value
Type: System.UInt64
Returns UInt64.