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

PI Powershell

ExportAFXml.File Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
ExportAFXml.File Property

Output file to write all exported AF Objects to. If the file does not exist, it will be created.

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

Syntax

[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "File to export to")]
[ValidateNotNullOrEmptyAttribute]
public string File { get; set; }
<ParameterAttribute(Position := 3, Mandatory := false, ValueFromPipeline := false, 
	HelpMessage := "File to export to")>
<ValidateNotNullOrEmptyAttribute>
Public Property File As String
	Get
	Set

Dim instance As ExportAFXml
Dim value As String

value = instance.File

instance.File = value
public:
[ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = L"File to export to")]
[ValidateNotNullOrEmptyAttribute]
property String^ File {
	String^ get ();
	void set (String^ value);
}
[<ParameterAttribute(Position = 3, Mandatory = false, ValueFromPipeline = false, 
	HelpMessage = "File to export to")>]
[<ValidateNotNullOrEmptyAttribute>]
member File : string with get, set

Property Value

Type: String

See Also

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