Gets the public Uri of the Spotfire Server currently connected to.
This will be the Uri configured as "Public Address" in the Spotfire server configuration.
This Uri should always be used when displaying links to the server, to library files or to the Web Player.
Namespace: Spotfire.Dxp.Framework.ApplicationModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public Uri ServerPublicUri { get; }
Property Value
Type: UriExceptions
Exception | Condition |
---|---|
InvalidOperationException | If the client is not online. |
Remarks
Always check if the client is online, using IsOnline, before using this function.
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also