AFTransfer.SetDestination Method (AFElement, AFPort)
- Last UpdatedNov 18, 2025
- 2 minute read
- PI System
- AF SDK 2024 R2
- Developer
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.1Obsolete (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