SPUserCodeProvider.OnPreRestore 方法

引发PreRestore事件。

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

语法

声明
Public Function OnPreRestore ( _
    sender As Object, _
    info As SPRestoreInformation _
) As Boolean
用法
Dim instance As SPUserCodeProvider
Dim sender As Object
Dim info As SPRestoreInformation
Dim returnValue As Boolean

returnValue = instance.OnPreRestore(sender, _
    info)
public bool OnPreRestore(
    Object sender,
    SPRestoreInformation info
)

参数

返回值

类型:System.Boolean
true该操作是否成功 ;否则为false。

实现

IBackupRestore.OnPreRestore(Object, SPRestoreInformation)

备注

此方法仅用于被调用从灾难性的备份和恢复基础结构代码在SharePoint Foundation中。

另请参阅

引用

SPUserCodeProvider 类

SPUserCodeProvider 成员

Microsoft.SharePoint.Administration 命名空间