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

PI Powershell

ConnectPIDataArchive.AuthenticationMethod Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
ConnectPIDataArchive.AuthenticationMethod Property

PI authentication method to use when connecting to a PI Data Archive.

Namespace:  OSIsoft.PowerShell
Assembly:  OSIsoft.PowerShell (in OSIsoft.PowerShell.dll) Version: 3.1.1.0 (3.1.1.466)

Syntax

[ParameterAttribute(Position = 1, Mandatory = false, ParameterSetName = "MachineName", 
	HelpMessage = "Authentication method")]
[ValidateNotNullOrEmptyAttribute]
public PISecurityMode[] AuthenticationMethod { get; set; }
<ParameterAttribute(Position := 1, Mandatory := false, ParameterSetName := "MachineName", 
	HelpMessage := "Authentication method")>
<ValidateNotNullOrEmptyAttribute>
Public Property AuthenticationMethod As PISecurityMode()
	Get
	Set

Dim instance As ConnectPIDataArchive
Dim value As PISecurityMode()

value = instance.AuthenticationMethod

instance.AuthenticationMethod = value
public:
[ParameterAttribute(Position = 1, Mandatory = false, ParameterSetName = L"MachineName", 
	HelpMessage = L"Authentication method")]
[ValidateNotNullOrEmptyAttribute]
property array<PISecurityMode>^ AuthenticationMethod {
	array<PISecurityMode>^ get ();
	void set (array<PISecurityMode>^ value);
}
[<ParameterAttribute(Position = 1, Mandatory = false, ParameterSetName = "MachineName", 
	HelpMessage = "Authentication method")>]
[<ValidateNotNullOrEmptyAttribute>]
member AuthenticationMethod : PISecurityMode[] with get, set

Property Value

Type: PISecurityMode

See Also

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