QuickOPC User's Guide and Reference
FromServerElement Method



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerDescriptor Class : FromServerElement Method
Contains the server element to be converted.
Converts a ServerElement to a server descriptor.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Public Shared Function FromServerElement( _
   ByVal serverElement As ServerElement _
) As ServerDescriptor
'Usage
 
Dim serverElement As ServerElement
Dim value As ServerDescriptor
 
value = ServerDescriptor.FromServerElement(serverElement)
[CanBeNull()]
public static ServerDescriptor FromServerElement( 
   ServerElement serverElement
)
[CanBeNull()]
public:
static ServerDescriptor^ FromServerElement( 
   ServerElement^ serverElement
) 

Parameters

serverElement
Contains the server element to be converted.

Return Value

Returns the server descriptor created from the server element.
Remarks

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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