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 (AFElement, AFPort)

AFTransfer.SetDestination Method (AFElement, AFPort)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTransfer.SetDestination Method (AFElement, AFPort)

Note: This API is now obsolete.

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

[BrowsableAttribute(false)]
[ObsoleteAttribute("Use AFTransfer.SetDestination(AFPort destinationPort).  There is no need to specify both a element and its port.")]
public void SetDestination(
	AFElement destinationElement,
	AFPort destinationPort
)
<BrowsableAttribute(false)>
<ObsoleteAttribute("Use AFTransfer.SetDestination(AFPort destinationPort).  There is no need to specify both a element and its port.")>
Public Sub SetDestination ( 
	destinationElement As AFElement,
	destinationPort As AFPort
)

Dim instance As AFTransfer
Dim destinationElement As AFElement
Dim destinationPort As AFPort

instance.SetDestination(destinationElement, 
	destinationPort)
public:
[BrowsableAttribute(false)]
[ObsoleteAttribute(L"Use AFTransfer.SetDestination(AFPort destinationPort).  There is no need to specify both a element and its port.")]
void SetDestination(
	AFElement^ destinationElement, 
	AFPort^ destinationPort
)
[<BrowsableAttribute(false)>]
[<ObsoleteAttribute("Use AFTransfer.SetDestination(AFPort destinationPort).  There is no need to specify both a element and its port.")>]
member SetDestination : 
        destinationElement : AFElement * 
        destinationPort : AFPort -> unit 

Parameters

destinationElement
Type: OSIsoft.AF.AssetAFElement
The destination element of the transfer.
destinationPort
Type: OSIsoft.AF.ModelingAFPort
The destination port of the transfer.

Remarks

This method is obsolete and has been replaced by the SetDestination(AFPort) method.

Version Information

AFSDK

Obsolete (compiler warning) in 3.1.1
Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6
Obsolete (compiler warning) in 2.5
Obsolete (compiler warning) in 2.4

See Also

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