ActualURL Property (Read Only)

NI DataSocket

ActualURL Property (Read Only)

Syntax

CWDataSocket.ActualURL

Data Type

String

Purpose

Specifies the actual URL of the current source or target to which DataSocket is connected.

Remarks

Once connected to a data source or target, the ActualURL property is different from the URL property if the original URL pointed to a link that redirected the DataSocket to a new URL.

If the DataSocket is not connected, the ActualURL property is an empty string.

Example

'Display actual URL in text box on user interface.
Text1.Text = CWDataSocket1.ActualURL

See Also

URL

Connect

ConnectTo