DevicePropertyFactory.CreateBackupStatusProperty Method (BackupStatus, Boolean, TimeSpan, DateTime)
Create an BackupStatusProperty object that contains information about the status of backups.
Namespace: Microsoft.WindowsServerSolutions.Common.Devices
Assembly: DevicesOM (in DevicesOM.dll)
Syntax
public static BackupStatusProperty CreateBackupStatusProperty(
BackupStatus status,
bool hasBackups,
TimeSpan expireLimit,
DateTime timeStamp
)
public:
static BackupStatusProperty^ CreateBackupStatusProperty(
BackupStatus status,
bool hasBackups,
TimeSpan expireLimit,
DateTime timeStamp
)
Public Shared Function CreateBackupStatusProperty (
status As BackupStatus,
hasBackups As Boolean,
expireLimit As TimeSpan,
timeStamp As Date
) As BackupStatusProperty
Parameters
status
Type: Microsoft.WindowsServerSolutions.Common.Devices.BackupStatusA BackupStatus object that specifies the status of backup.
hasBackups
Type: System.Booleantrue if backups exist; otherwise, false.
expireLimit
Type: System.TimeSpanThe time limit for the expiration of the property.
timeStamp
Type: System.DateTimeThe date and time for the backup.
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