PIServers.AuthenticationOptions Property
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
The authentication options used when making a connection to a PIServer.
Namespace: OSIsoft.AF.PI
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public static IList<PIAuthenticationOption> AuthenticationOptions { get; set; }
Public Shared Property AuthenticationOptions As IList(Of PIAuthenticationOption) Get Set Dim value As IList(Of PIAuthenticationOption) value = PIServers.AuthenticationOptions PIServers.AuthenticationOptions = value
public: static property IList<PIAuthenticationOption>^ AuthenticationOptions { IList<PIAuthenticationOption>^ get (); void set (IList<PIAuthenticationOption>^ value); }
static member AuthenticationOptions : IList<PIAuthenticationOption> with get, set
Property Value
Type: IListPIAuthenticationOptionReturns a read-only list of the authentication options used when making a connection to a PIServer.
Remarks
The PIServer.Connect Overload methods
use the value of this property to control the authentication options when attempting
to make a connection to a PIServer. To set the options, set this
property to the new list of desired options.
| The user must be a local administrator on the computer to set these options. |
| This method, property, or class is not available in the legacy .NET 3.5 version of the SDK. |