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

AF SDK Reference

AFTransfer.SetSource Method (AFPort)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTransfer.SetSource Method (AFPort)
Set the element and port that are the source of the transfer.

Namespace:  OSIsoft.AF.EventFrame
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public void SetSource(
	AFPort sourcePort
)
Public Sub SetSource ( 
	sourcePort As AFPort
)

Dim instance As AFTransfer
Dim sourcePort As AFPort

instance.SetSource(sourcePort)
public:
void SetSource(
	AFPort^ sourcePort
)
member SetSource : 
        sourcePort : AFPort -> unit 

Parameters

sourcePort
Type: OSIsoft.AF.ModelingAFPort
The source port of the transfer. The type of this port must be Output. If , then the Source and SourcePort will be cleared.

Remarks

The specified port's Element will be connected to the default Input port of this transfer.

Version Information

AFSDK


See Also

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