AFTransfer.SetDestination Method (AFPort)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
Set the element and port that are the destination of the transfer.
Namespace: OSIsoft.AF.EventFrame
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182
Syntax
public void SetDestination( AFPort destinationPort )
Public Sub SetDestination ( destinationPort As AFPort ) Dim instance As AFTransfer Dim destinationPort As AFPort instance.SetDestination(destinationPort)
public: void SetDestination( AFPort^ destinationPort )
member SetDestination : destinationPort : AFPort -> unit
Parameters
- destinationPort
- Type: OSIsoft.AF.ModelingAFPort
The destination port of the transfer. The type of this port must be Input. If , then the Destination and DestinationPort will be cleared.
Remarks
The specified port's Element will be connected
to the default Output port of this transfer.