Persistate API documentation
ServerUri Method (hostName, environment, package)
NamespacesPersistateUtlServerUri(String, Environment, Package)

[This is preliminary documentation and is subject to change.]

Obtains the Uri to use to connect to or listen for Persistate Server/Viewer communications for running a particular package in a particular environment.
Declaration Syntax
C#
public static string ServerUri(
	string hostName,
	Environment environment,
	Package package
)
Parameters
hostName (String)
The name of the running the package. Can be null only in the server itself, in which case a string wildcard (+) is used for the host.
environment (Environment)
The environment in which the package is being run.
package (Package)
The package being run.
Return Value
A string containing the uri to use.
Remarks
This version uses a fixed path and different port numbers to distinguish between packages.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)