Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI Powershell

NewPIBackupRestoreFile.NumberOfArchives Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
NewPIBackupRestoreFile.NumberOfArchives Property

Number of archives to include as registered for the secondary node

Note: This parameter does not apply to future archive set. All future archives are included.

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)

Syntax

[ParameterAttribute(Position = 2, Mandatory = true, HelpMessage = "Number of archives to include in restore file")]
[ValidateNotNullOrEmptyAttribute]
public int NumberOfArchives { get; set; }
<ParameterAttribute(Position := 2, Mandatory := true, HelpMessage := "Number of archives to include in restore file")>
<ValidateNotNullOrEmptyAttribute>
Public Property NumberOfArchives As Integer
	Get
	Set

Dim instance As NewPIBackupRestoreFile
Dim value As Integer

value = instance.NumberOfArchives

instance.NumberOfArchives = value
public:
[ParameterAttribute(Position = 2, Mandatory = true, HelpMessage = L"Number of archives to include in restore file")]
[ValidateNotNullOrEmptyAttribute]
property int NumberOfArchives {
	int get ();
	void set (int value);
}
[<ParameterAttribute(Position = 2, Mandatory = true, HelpMessage = "Number of archives to include in restore file")>]
[<ValidateNotNullOrEmptyAttribute>]
member NumberOfArchives : int with get, set

Property Value

Type: Int32

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in