Share via


SPBackupRestoreConsole.CurrentItem property

The place number, in the sequence of cfomponents that are part of the current operation, of the component currently being backed up or restored.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared ReadOnly Property CurrentItem As Integer
    Get
'Usage
Dim value As Integer

value = SPBackupRestoreConsole.CurrentItem
public static int CurrentItem { get; }

Property value

Type: System.Int32
A Int32, from 1 up to CurrentTotalItems, that represents the place of the current component in the sequence of components that are being backed up or restored in the current operation.

Remarks

For example, "5" is returned when the fifth component is being processed.

If there is no operation underway, "0" is returned.

See also

Reference

SPBackupRestoreConsole class

SPBackupRestoreConsole members

Microsoft.SharePoint.Administration.Backup namespace