Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Method that is called when the system is preparing for backup.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function OnPrepareBackup ( _
sender As Object, _
args As SPBackupInformation _
) As Boolean
'Usage
Dim instance As IisWebServiceBackupBehaviorAttribute
Dim sender As Object
Dim args As SPBackupInformation
Dim returnValue As Boolean
returnValue = instance.OnPrepareBackup(sender, _
args)
public virtual bool OnPrepareBackup(
Object sender,
SPBackupInformation args
)
Parameters
sender
Type: System.ObjectThe object calling this event.
args
Type: Microsoft.SharePoint.Administration.Backup.SPBackupInformationThe backup information for the object.
Return value
Type: System.Boolean
Returns Boolean.
Remarks
This function should not be called by anything except the backup/restore process.
See also
Reference
IisWebServiceBackupBehaviorAttribute class