This document is archived and information here might be outdated.  Recommended version.


IAGSServerConnectionFactory2.ReadConnectionPropertiesFromFile Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IA > IAGSServerConnectionFactory2 Interface > IAGSServerConnectionFactory2.ReadConnectionPropertiesFromFile Method
ArcGIS Developer Help

IAGSServerConnectionFactory2.ReadConnectionPropertiesFromFile Method

The connection properties from the specified file.

[Visual Basic .NET]
Public Function ReadConnectionPropertiesFromFile ( _
    ByVal fileName As String _
) As IPropertySet
[C#]
public IPropertySet ReadConnectionPropertiesFromFile (
    string fileName
);
[C++]
HRESULT ReadConnectionPropertiesFromFile(
  BSTR fileName
);
[C++]
Parameters
fileName [in]

fileName is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IAGSServerConnectionFactory2 Interface