Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UaClient Dim endpoint As EndpointDescription Dim sessionName As String Dim value As Session value = instance.CreateSession(endpoint, sessionName) |
C# | |
---|---|
public Session CreateSession( EndpointDescription endpoint, string sessionName ) |
Parameters
- endpoint
- The endpoint description of the endpoint to be used for the server access.
- sessionName
- The name to assign to the session.
Return Value
The new session object.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x