Opens the server connection specified by the given file name.
[Visual Basic .NET] Public Function OpenFromFile ( _ ByVal fileName As String, _ ByVal hWnd As Integer _ ) As IAGSServerConnection
[C#] public IAGSServerConnection OpenFromFile ( string fileName, int hWnd );
[C++]
HRESULT OpenFromFile(
BSTR fileName,
long hWnd,
IAGSServerConnection** ppConnection
);
[C++]Parameters
fileName [in] fileName is a parameter of type BSTR hWnd [in] hWnd is a parameter of type long ppConnection [out, retval]ppConnection is a parameter of type IAGSServerConnection
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.