Connect

Connects TerraExplorer to a SkylineGlobe Server. This method cannot be used for a guest login.

 

JavaScript

 

Connect(

       URL,

       UserName,

       Password)

 

C#

 

void Connect(

       string URL,

       string UserName,

       string Password)   

 

C++

 

HRESULT Connect(

       BSTR URL,

       BSTR UserName,

       BSTR Password )

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.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.