QuickOPC User's Guide and Reference
GetProtocolNames Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Engine Namespace > UATransportProfileUriStrings Class : GetProtocolNames Method
The transport profile URI string for which the protocol names should be obtained.
Obtains protocol names supported by a given transport profile URI.
Syntax
'Declaration
 
<IteratorStateMachineAttribute(OpcLabs.EasyOpc.UA.Engine.UATransportProfileUriStrings/d__11)> 
<NotNullAttribute()> 
Public Shared Function GetProtocolNames( _ 
   ByVal transportProfileUriString As String _ 
) As IEnumerable(Of String)
'Usage
 
Dim transportProfileUriString As String
Dim value As IEnumerable(Of String)
 
value = UATransportProfileUriStrings.GetProtocolNames(transportProfileUriString)
[IteratorStateMachine(OpcLabs.EasyOpc.UA.Engine.UATransportProfileUriStrings/d__11)] 
[NotNull()] 
public static IEnumerable<string> GetProtocolNames( 
   string transportProfileUriString 
)
[IteratorStateMachine(OpcLabs.EasyOpc.UA.Engine.UATransportProfileUriStrings/d__11)] 
[NotNull()] 
public: 
static IEnumerable<String^>^ GetProtocolNames( 
   String^ transportProfileUriString 
) 

Parameters

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

Return Value

Returns a sequence of protocol names that the transport profile supports.
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