SetPIAFLinkTracing.LogFile Property
- Last UpdatedDec 15, 2025
- 2 minute read
Log file to output the AF Link trace to. If not specified, messages will be written to the PI message log by default.
Namespace: OSIsoft.PowerShell
Assembly: OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 2.2.3.0 (2.2.3.952)
Syntax
[ParameterAttribute(Position = 1, ParameterSetName = "Enable tracing", Mandatory = false, HelpMessage = "Trace to log file")] [ValidateNotNullOrEmptyAttribute] public string LogFile { get; set; }
<ParameterAttribute(Position := 1, ParameterSetName := "Enable tracing", Mandatory := false, HelpMessage := "Trace to log file")> <ValidateNotNullOrEmptyAttribute> Public Property LogFile As String Get Set Dim instance As SetPIAFLinkTracing Dim value As String value = instance.LogFile instance.LogFile = value
public: [ParameterAttribute(Position = 1, ParameterSetName = L"Enable tracing", Mandatory = false, HelpMessage = L"Trace to log file")] [ValidateNotNullOrEmptyAttribute] property String^ LogFile { String^ get (); void set (String^ value); }
[<ParameterAttribute(Position = 1, ParameterSetName = "Enable tracing", Mandatory = false, HelpMessage = "Trace to log file")>] [<ValidateNotNullOrEmptyAttribute>] member LogFile : string with get, set