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

PI Powershell

SetFileOptions.MaxFileLength Property

  • Last UpdatedDec 15, 2025
  • 1 minute read
SetFileOptions.MaxFileLength Property

Maximum File Length to be permitted

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

Syntax

[ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "Maximum File Length")]
[ValidateNotNullOrEmptyAttribute]
public int MaxFileLength { get; set; }
<ParameterAttribute(Position := 1, Mandatory := true, HelpMessage := "Maximum File Length")>
<ValidateNotNullOrEmptyAttribute>
Public Property MaxFileLength As Integer
	Get
	Set

Dim instance As SetFileOptions
Dim value As Integer

value = instance.MaxFileLength

instance.MaxFileLength = value
public:
[ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = L"Maximum File Length")]
[ValidateNotNullOrEmptyAttribute]
property int MaxFileLength {
	int get ();
	void set (int value);
}
[<ParameterAttribute(Position = 1, Mandatory = true, HelpMessage = "Maximum File Length")>]
[<ValidateNotNullOrEmptyAttribute>]
member MaxFileLength : int with get, set

Property Value

Type: Int32

See Also

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