ArcObjects Library Reference (GISClient)  

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,
  IPropertySet** ConnectionProperties
);
[C++]

Parameters

fileName [in]   fileName is a parameter of type BSTR ConnectionProperties [out, retval]

  ConnectionProperties is a parameter of type IPropertySet

Product Availability

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

See Also

IAGSServerConnectionFactory2 Interface