OPC Studio User's Guide and Reference
GetProtocolNames(Uri) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UATransportProfileUriStrings Class > GetProtocolNames Method : GetProtocolNames(Uri) Method
The transport profile URI for which the protocol names should be obtained.

The value of this parameter cannot be null (Nothing in Visual Basic).

Syntax
'Declaration
 
<JetBrains.Annotations.NotNullAttribute()>
Public Overloads Shared Function GetProtocolNames( _
   ByVal transportProfileUri As Uri _
) As IEnumerable(Of String)
'Usage
 
Dim transportProfileUri As Uri
Dim value As IEnumerable(Of String)
 
value = UATransportProfileUriStrings.GetProtocolNames(transportProfileUri)
[JetBrains.Annotations.NotNull()]
public static IEnumerable<string> GetProtocolNames( 
   Uri transportProfileUri
)
[JetBrains.Annotations.NotNull()]
public:
static IEnumerable<String^>^ GetProtocolNames( 
   Uri^ transportProfileUri
) 

Parameters

transportProfileUri
The transport profile URI for which the protocol names should be obtained.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

This method never returns null (Nothing in Visual Basic).

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