IAGSServerConnectionFactory2 Interface

Provides access to members that create and open GIS server connections and supply server connection factory information.

Members

Name Description
Read/write property DefaultHttpTimeout The default timeout for http requests to the server (in seconds).
Method Open Opens the GIS server connection specified by the connection properties.
Method OpenFromFile Opens the server connection specified by the given file name.
Method ReadConnectionPropertiesFromFile The connection properties from the specified file.

IAGSServerConnectionFactory2.DefaultHttpTimeout Property

The default timeout for http requests to the server (in seconds).

Public Property DefaultHttpTimeout As Integer
public int DefaultHttpTimeout {get; set;}

IAGSServerConnectionFactory2.OpenFromFile Method

Opens the server connection specified by the given file name.

Public Function OpenFromFile ( _
    ByVal fileName As String, _
    ByVal hWnd As Integer _
) As IAGSServerConnection
public IAGSServerConnection OpenFromFile (
    string fileName,
    int hWnd
);

IAGSServerConnectionFactory2.ReadConnectionPropertiesFromFile Method

The connection properties from the specified file.

Public Function ReadConnectionPropertiesFromFile ( _
    ByVal fileName As String _
) As IPropertySet
public IPropertySet ReadConnectionPropertiesFromFile (
    string fileName
);

Inherited Interfaces

Interfaces Description
IAGSServerConnectionFactory Provides access to members that create and open GIS server connections and supply server connection factory information.

Classes that implement IAGSServerConnectionFactory2

Classes Description
AGSServerConnectionFactory A factory object for ArcGIS Server Connections.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.