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

AF SDK Reference

AFTransfer.SetDestination Method (AFPort)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTransfer.SetDestination Method (AFPort)
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.

Version Information

AFSDK


See Also

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