AFConnectionInfo Properties
- Last UpdatedNov 18, 2025
- 3 minute read
- PI System
- AF SDK 2024 R2
- Developer
The AFConnectionInfo type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AccountName |
This property is the account name that the PI AF Server
for this PISystem is executing under.
| |
| AuthenticationType |
Read-only property that returns the Authentication Type used by the server.
On older servers this will return string.empty .
| |
| DefaultPreference |
The default connection preference to be used when attempting to connect to
a member in an AFCollective.
| |
| Expiration |
Read-only property that returns the Token Expiration used by OpenID connections
to the AF server.
For windows connections, this will return DateTime.MinValue.
For openId connections, this will return the access token expiration.
| |
| Host |
This property is the name of the host machine where the PI AF Server
for this PISystem is executing.
| |
| IdleTimeout |
Read-only property that is the connection idle timeout used to reset the connection
to the PI AF Server for this PISystem.
| |
| IsConnected |
Indicates the connection status to the PI AF Server.
| |
| PISystem |
This read-only property allows access to the PISystem associated with this
object.
| |
| Port |
Read/write property that is the port number used to connect to the PI AF Server
for this PISystem on the remote host.
| |
| Preference |
The default connection preference override to be used when attempting to connect to
a member in an AFCollective for this PISystem instance.
| |
| Protocol |
Read/write property that is the protocol used to connect to the PI AF Server for
this PISystem on the remote host.
| |
| StreamedPort |
Read-only property that is the port number used to connect to the streamed interface of
the PI AF Server for this PISystem on the remote host.
| |
| TimeOut |
Read/write property that is the connection timeout used to connect to the PI AF Server
for this PISystem on the remote host.
|