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

AF SDK Reference

PIServer.ConnectWithPrompt Method

  • Last UpdatedNov 18, 2025
  • 2 minute read
PIServer.ConnectWithPrompt Method
Connects to the server forcing a prompt for credentials for the IdS.

Overload List

  NameDescription
Public method
ConnectWithPrompt
Connects to the server prompting for credentials.
Public methodCode example
ConnectWithPrompt(IWin32Window)
Open a connection to the PI Data Archive prompting for credentials to allow sending and retrieving data.
Public methodCode example
ConnectWithPrompt(AFConnectionPreference)
Open a connection to the PI Data Archive prompting for credentials to allow sending and retrieving data.
Public methodCode example
ConnectWithPrompt(IWin32Window, PIAuthenticationMode, NullableAFConnectionPreference)
Open a connection to the PI Data Archive prompting for credentials to allow sending and retrieving data.

See Also

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