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

PI Powershell

SetPIMapping.Connection Property

  • Last UpdatedDec 15, 2025
  • 2 minute read
SetPIMapping.Connection Property

Connection to a PI Data Archive for which to set the PI Mapping

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

Syntax

[ParameterAttribute(Position = 5, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = "PI Data Archive connection")]
[AliasAttribute(new string[] { ... })]
[ValidateNotNullOrEmptyAttribute]
public override ClientChannel Connection { get; set; }
<ParameterAttribute(Position := 5, Mandatory := true, ValueFromPipeline := true, 
	HelpMessage := "PI Data Archive connection")>
<AliasAttribute(New String() { ... })>
<ValidateNotNullOrEmptyAttribute>
Public Overrides Property Connection As ClientChannel
	Get
	Set

Dim instance As SetPIMapping
Dim value As ClientChannel

value = instance.Connection

instance.Connection = value
public:
[ParameterAttribute(Position = 5, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = L"PI Data Archive connection")]
[AliasAttribute(__gc new array<String^>^ { ... })]
[ValidateNotNullOrEmptyAttribute]
virtual property ClientChannel^ Connection {
	ClientChannel^ get () override;
	void set (ClientChannel^ value) override;
}
[<ParameterAttribute(Position = 5, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = "PI Data Archive connection")>]
[<AliasAttribute(new string[] { ... })>]
[<ValidateNotNullOrEmptyAttribute>]
abstract Connection : ClientChannel with get, set
[<ParameterAttribute(Position = 5, Mandatory = true, ValueFromPipeline = true, 
	HelpMessage = "PI Data Archive connection")>]
[<AliasAttribute(new string[] { ... })>]
[<ValidateNotNullOrEmptyAttribute>]
override Connection : ClientChannel with get, set

Property Value

Type: ClientChannel

See Also

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