Share via


ItemPathBasedRestoreCriteria(String, Boolean) Constructor

Definition

Initializes a new instance of ItemPathBasedRestoreCriteria.

public ItemPathBasedRestoreCriteria (string itemPath, bool isPathRelativeToBackupItem);
new Azure.ResourceManager.DataProtectionBackup.Models.ItemPathBasedRestoreCriteria : string * bool -> Azure.ResourceManager.DataProtectionBackup.Models.ItemPathBasedRestoreCriteria
Public Sub New (itemPath As String, isPathRelativeToBackupItem As Boolean)

Parameters

itemPath
String

The path of the item to be restored. It could be the full path of the item or the path relative to the backup item.

isPathRelativeToBackupItem
Boolean

Flag to specify if the path is relative to backup item or full path.

Exceptions

itemPath is null.

Applies to