SPBackupRestoreConsole.DiskSizeRequired 方法 (Guid, SPBackupRestoreObject, Boolean)

在树中指定的备份操作中的组件获取备份指定的节点 (和其子项) 所需的磁盘空间量。

命名空间:  Microsoft.SharePoint.Administration.Backup
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Shared Function DiskSizeRequired ( _
    id As Guid, _
    node As SPBackupRestoreObject, _
    configurationOnly As Boolean _
) As ULong
用法
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
)

参数

  • configurationOnly
    类型:System.Boolean

    true报告中的配置专用的备份 ; 所需的大小否则为false。

返回值

类型:System.UInt64
返回UInt64

另请参阅

引用

SPBackupRestoreConsole 类

SPBackupRestoreConsole 成员

DiskSizeRequired 重载

Microsoft.SharePoint.Administration.Backup 命名空间