NewPIBackupRestoreFile.ArchiveSetDirectories Property
- Last UpdatedDec 15, 2025
- 2 minute read
Each archive set can have a separate directory. The array passed should have two elements. The first is the historical archive directory and the second is the future archive directory.
This option is only valid for PI Data Archive 2015 or later.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)
Syntax
[ParameterAttribute(Position = 1, ParameterSetName = "AllSets", Mandatory = true, HelpMessage = "Archive directory for each archive set")] [ValidateNotNullOrEmptyAttribute] public string[] ArchiveSetDirectories { get; set; }
<ParameterAttribute(Position := 1, ParameterSetName := "AllSets", Mandatory := true, HelpMessage := "Archive directory for each archive set")> <ValidateNotNullOrEmptyAttribute> Public Property ArchiveSetDirectories As String() Get Set Dim instance As NewPIBackupRestoreFile Dim value As String() value = instance.ArchiveSetDirectories instance.ArchiveSetDirectories = value
public: [ParameterAttribute(Position = 1, ParameterSetName = L"AllSets", Mandatory = true, HelpMessage = L"Archive directory for each archive set")] [ValidateNotNullOrEmptyAttribute] property array<String^>^ ArchiveSetDirectories { array<String^>^ get (); void set (array<String^>^ value); }
[<ParameterAttribute(Position = 1, ParameterSetName = "AllSets", Mandatory = true, HelpMessage = "Archive directory for each archive set")>] [<ValidateNotNullOrEmptyAttribute>] member ArchiveSetDirectories : string[] with get, set