GeoStreamRepository Constructor (String, String, String) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Construct a new GeoStreamRepository, connecting to one or more servers using specified credentials.
The same credentials will be used for all GeoStream servers in the servers array.
Namespace:
Telogis.GeoBase.Repositories
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public GeoStreamRepository(
string username,
string password,
params string[] servers
)
Public Sub New (
username As String,
password As String,
ParamArray servers As String()
)
Parameters
- username
- Type: SystemString
GeoStream user name - password
- Type: SystemString
Password for the GeoStream user - servers
- Type: SystemString
An array of server URL strings
Remarks GeoStream servers are known by the URL pointing to the server's GeoStream directory
(the GeoStream directory contains 'tile.aspx'). The URL should be of the form:
http://myserver/path_to_geostream_directory/
The default installation of GeoBase configures IIS with the following URL:
http://myserver/GeoStream/
Examples string[] myServers = {
"http://tiles.mycompany.net/GeoStream/",
"http://tiles2.mycompany.net/GeoStream/"
};
GeoStreamRepository myRepo = new GeoStreamRepository("username", "password", myServers);
See Also