Share via


DevicePropertyFactory.CreateBackupStatusProperty Method (Int32, Boolean, TimeSpan, DateTime)

 

Create an BackupStatusProperty object that contains information about the status of backups and provides a progress indicator.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Syntax

public static BackupStatusProperty CreateBackupStatusProperty(
    int progress,
    bool hasBackups,
    TimeSpan expireLimit,
    DateTime timeStamp
)
public:
static BackupStatusProperty^ CreateBackupStatusProperty(
    int progress,
    bool hasBackups,
    TimeSpan expireLimit,
    DateTime timeStamp
)
Public Shared Function CreateBackupStatusProperty (
    progress As Integer,
    hasBackups As Boolean,
    expireLimit As TimeSpan,
    timeStamp As Date
) As BackupStatusProperty

Parameters

  • progress
    Type: System.Int32

    A progress indicator that provides a value between 0 and 100.

  • hasBackups
    Type: System.Boolean

    true if backups exist; otherwise, false.

  • expireLimit
    Type: System.TimeSpan

    The time limit for the expiration of the property.

Return Value

Type: Microsoft.WindowsServerSolutions.Common.Devices.BackupStatusProperty

An instance of BackupStatusProperty.

See Also

CreateBackupStatusProperty Overload
DevicePropertyFactory Class
Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top