OPC Studio User's Guide and Reference
GetMultipleFileProperties Method (IEasyUAFileTransferExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.FileTransfer Namespace > IEasyUAFileTransferExtension Class : GetMultipleFileProperties Method
The OPC UA file transfer object that will perform the operation.
Endpoint descriptor. Identifies the OPC-UA server.
An array of node descriptors of files whose properties should be obtained.
Obtain properties (file metadata) of multiple specified OPC UA files.
Syntax
'Declaration
 
<ExtensionAttribute()>
<ElementsNotNullAttribute()>
<NotNullAttribute()>
Public Shared Function GetMultipleFileProperties( _
   ByVal fileTransfer As IEasyUAFileTransfer, _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal fileNodeDescriptorArray As IReadOnlyList(Of UANodeDescriptor) _
) As ValueResult(Of UAFileProperties)()
'Usage
 
Dim fileTransfer As IEasyUAFileTransfer
Dim endpointDescriptor As UAEndpointDescriptor
Dim fileNodeDescriptorArray As IReadOnlyList(Of UANodeDescriptor)
Dim value() As ValueResult(Of UAFileProperties)
 
value = IEasyUAFileTransferExtension.GetMultipleFileProperties(fileTransfer, endpointDescriptor, fileNodeDescriptorArray)

Parameters

fileTransfer
The OPC UA file transfer object that will perform the operation.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
fileNodeDescriptorArray
An array of node descriptors of files whose properties should be obtained.

Return Value

Returns an array of value result objects, with objects that contain the retrieved file properties (in case of success) or an exception indication (in case of failure).
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also