Interface IAGSServerObjectName

Namespace
ESRI.ArcGIS.GISClient
Assembly
ESRI.Server.GISClient.dll

Provides access to members that supply server object name information.

[Guid("436BD37C-FE61-4A2E-9D74-1AE6FC8D654D")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IAGSServerObjectName

Remarks

The IAGSServerObjectName interface lets you access the properties of an AGSServerObjectName which is The name object for an MapServer or GeocodeServer server object obtained through an AGSServerConnection. IAGSServerObjectName has properties for the server object's Name, Type and if connecting to a web service catalog, the URL.

Properties

AGSServerConnectionName

The connection name object for this server object.

IAGSServerConnectionName AGSServerConnectionName { get; set; }

Property Value

IAGSServerConnectionName

Remarks

<P>The name object for an <STRONG>AGSServerConnection. </STRONG>The <STRONG>AGSServerConnectionName </STRONG>for an AGSServerConnection can be persisted, for example, in a map document. An application can call the <STRONG><A href="JavaScript:Jump('esriSystem/IName_Open.htm')">Open</A> </STRONG>method on the <STRONG>AGSServerConnectionName</STRONG> after loading it from persistent storage in order to connect to and get an object reference to the GIS server or web service catalog.</P>

Name

Name of the server object.

string Name { get; set; }

Property Value

string

Remarks

Required if the MapServer object is obtained via a LAN AGSServerConnection.

Type

Type of the server object (MapServer or GeocodeServer).

string Type { get; set; }

Property Value

string

URL

Server object URL (if connection type is internet).

string URL { get; set; }

Property Value

string

Remarks

Required if the MapServer object is obtained via an internet AGSServerConnection to a web service catalog.