PIServer.Connect Method
- Last UpdatedNov 18, 2025
- 4 minute read
- PI System
- AF SDK 2024 R2
- Developer
Open a connection to the PI Data Archive to allow sending and retrieving data.
Open a connection to the PI Data Archive using the specified connection preference
to allow sending and retrieving data.
Overload List
| Name | Description | |
|---|---|---|
| Connect(Boolean) |
Open a connection to the PI Data Archive using default credentials
to allow sending and retrieving data.
| |
| Connect(NetworkCredential) |
Open a connection to the PI Data Archive using the specified PI User credentials
to allow sending and retrieving data.
| |
| Connect(String) |
Connects to the server using the specified Access Token to allow sending and retrieving data.
| |
| Connect(AFConnectionPreference) |
Open a connection to the PI Data Archive using the specified connection preference
to allow sending and retrieving data.
| |
| Connect(Boolean, IWin32Window) |
Open a connection to the PI Data Archive with a credential prompt if necessary
to allow sending and retrieving data.
| |
| Connect(NetworkCredential, AFConnectionPreference) |
Open a connection to the PI Data Archive using the specified PI User credentials
and connection preference to allow sending and retrieving data.
| |
| Connect(NetworkCredential, PIAuthenticationMode) |
Open a connection to the PI Data Archive using the specified credentials
to allow sending and retrieving data.
| |
| Connect(String, AFConnectionPreference) |
Connects to the server using the specified Access Token to allow sending and retrieving data.
| |
| Connect(String, String) |
Connects to the server using the specified credentials to allow sending and retrieving data.
| |
| Connect(Boolean, IWin32Window, AFConnectionPreference) |
Open a connection to the PI Data Archive using the specified connection preference
with a credential prompt if necessary to allow sending and retrieving data.
| |
| Connect(NetworkCredential, AFConnectionPreference, PIAuthenticationMode) |
Open a connection to the PI Data Archive using the specified credentials
and connection preference to allow sending and retrieving data.
| |
| Connect(String, String, AFConnectionPreference) |
Connects to the server using the specified credentials to allow sending and retrieving data.
| |
| Connect(Boolean, IWin32Window, AFConnectionPreference, Boolean) |
Open a connection to the PI Data Archive using the specified connection preference
with a credential prompt if necessary to allow sending and retrieving data
and return an indication that dialog was canceled.
|
See Also
In This Topic
Related Links
- Connect Method (Boolean)
- Connect Method (NetworkCredential)
- Connect Method (String)
- Connect Method (AFConnectionPreference)
- Connect Method (Boolean, IWin32Window)
- Connect Method (NetworkCredential, AFConnectionPreference)
- Connect Method (NetworkCredential, PIAuthenticationMode)
- Connect Method (String, AFConnectionPreference)
- Connect Method (String, String)
- Connect Method (Boolean, IWin32Window, AFConnectionPreference)
- Connect Method (NetworkCredential, AFConnectionPreference, PIAuthenticationMode)
- Connect Method (String, String, AFConnectionPreference)
- Connect Method (Boolean, IWin32Window, AFConnectionPreference, Boolean)