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

AF SDK Reference

PIServers.AuthenticationOptions Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIServers.AuthenticationOptions Property
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: IListPIAuthenticationOption
Returns 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.
Security note Security Note
The user must be a local administrator on the computer to set these options.

Note Notes to Callers
This method, property, or class is not available in the legacy .NET 3.5 version of the SDK.

Version Information

AFSDK


See Also

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