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

PI Powershell

StartPIBackup.NumberOfArchives Property

  • Last UpdatedDec 15, 2025
  • 1 minute read
StartPIBackup.NumberOfArchives Property

Number of most recent historical archives to include in the PI Backup

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

Syntax

[ParameterAttribute(Position = 1, Mandatory = false, HelpMessage = "Number of archives to backup")]
public int NumberOfArchives { get; set; }
<ParameterAttribute(Position := 1, Mandatory := false, HelpMessage := "Number of archives to backup")>
Public Property NumberOfArchives As Integer
	Get
	Set

Dim instance As StartPIBackup
Dim value As Integer

value = instance.NumberOfArchives

instance.NumberOfArchives = value
public:
[ParameterAttribute(Position = 1, Mandatory = false, HelpMessage = L"Number of archives to backup")]
property int NumberOfArchives {
	int get ();
	void set (int value);
}
[<ParameterAttribute(Position = 1, Mandatory = false, HelpMessage = "Number of archives to backup")>]
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