Connect
Connects TerraExplorer to a SkylineGlobe Server. This method cannot be used for a guest login. This method executes synchronously, meaning it returns after connecting to the server. If you want to execute asynchronously, use ConnectAsync instead.
JavaScript |
|
Connect( URL, UserName, Password, bRememberMe) |
C# |
|
void Connect( string URL, string UserName, string Password, [bool bRememberMe = False]) |
C++ |
|
HRESULT Connect( BSTR URL, BSTR UserName, BSTR Password , VARIANT_BOOL bRememberMe) |
Parameters
URL
The URL of the SkylineGlobe Server. If this parameter is set to an empty string, TerraExplorer connects to the last server it connected to.
UserName
The user name by which to connect to the SkylineGlobe Server.
Password
The password by which to connect to the SkylineGlobe Server.
bRememberMe
A Boolean that determines whether the login details should be remembered for automatic completion in future logins.
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.