QuickOPC User's Guide and Reference
FromServerElement Method



OpcLabs.EasyOpcClassic 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.
Requirements

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

See Also

Reference

ServerDescriptor Class
ServerDescriptor Members