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


IWMSConnectionFactory.Open Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GISClient)  

IWMSConnectionFactory.Open Method

Opens a WMS connection for the given properties.

[Visual Basic .NET]
Public Function Open ( _
    ByVal pConnectionProperties As IPropertySet, _
    ByVal hWnd As Integer, _
    ByVal pTrackCancel As ITrackCancel _
) As IWMSConnection
[C#]
public IWMSConnection Open (
    IPropertySet pConnectionProperties,
    int hWnd,
    ITrackCancel pTrackCancel
);
[C++]
HRESULT Open(
  IPropertySet* pConnectionProperties,
  long hWnd,
  ITrackCancel* pTrackCancel,
  IWMSConnection** ppConnection
);
[C++]

Parameters pConnectionProperties [in]
pConnectionProperties is a parameter of type IPropertySet hWnd [in] hWnd is a parameter of type long pTrackCancel
pTrackCancel is a parameter of type ITrackCancel ppConnection [out, retval]
ppConnection is a parameter of type IWMSConnection

Product Availability

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

Remarks

Open returns a WMSConnection.

See Also

IWMSConnectionFactory Interface