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

PI Powershell

GetPIArchiveFileInfo.Id Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
GetPIArchiveFileInfo.Id Property

Specifies the ID of the archive file for which to get detailed information

An archive ID of 0 is the primary archive

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "Id", 
	HelpMessage = "Id of PI Archive")]
[AliasAttribute(new string[] { ... })]
[ValidateNotNullOrEmptyAttribute]
public int Id { get; set; }
<ParameterAttribute(Position := 0, Mandatory := true, ParameterSetName := "Id", 
	HelpMessage := "Id of PI Archive")>
<AliasAttribute(New String() { ... })>
<ValidateNotNullOrEmptyAttribute>
Public Property Id As Integer
	Get
	Set

Dim instance As GetPIArchiveFileInfo
Dim value As Integer

value = instance.Id

instance.Id = value
public:
[ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = L"Id", 
	HelpMessage = L"Id of PI Archive")]
[AliasAttribute(__gc new array<String^>^ { ... })]
[ValidateNotNullOrEmptyAttribute]
property int Id {
	int get ();
	void set (int value);
}
[<ParameterAttribute(Position = 0, Mandatory = true, ParameterSetName = "Id", 
	HelpMessage = "Id of PI Archive")>]
[<AliasAttribute(new string[] { ... })>]
[<ValidateNotNullOrEmptyAttribute>]
member Id : int with get, set

Property Value

Type: Int32

See Also

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