AFTransfer.SetDestination Method (AFPort)
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- 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.2.0.7
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.