AGI STK Objects 11 Send comments on this topic.
Add Method (IAgScGlobeServersCollection)
See Also 
ServerName
The server name to connect to.
Port
The port to use.





Description

Adds a new Globeserver information to the list of available servers

Syntax

[Visual Basic .NET]
Public Function Add( _
   ByVal ServerName As String, _
   ByVal Port As Integer _
) As IAgScGlobeServerConfigData

[C#]
public IAgScGlobeServerConfigData Add(
string ServerName,
int Port
);

[Managed C++]
public: IAgScGlobeServerConfigData^ Add(
String __gc ^ ServerName,
int Port
);

[Java]
public IAgScGlobeServerConfigData add(
String ServerName,
int Port
);

[Unmanaged C++]
public: HRESULT Add(
BSTR ServerName,
long Port,
IAgScGlobeServerConfigData ** ReturnValue
);

Parameters

ServerName
The server name to connect to.
Port
The port to use.

Return Type

IAgScGlobeServerConfigData

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1