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


IWMSConnectionFactory.Open Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GISClient > ESRI.ArcGIS.GISClient > Interfaces > IW > IWMSConnectionFactory Interface > IWMSConnectionFactory.Open Method
ArcGIS Developer Help

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,
  OLE_HANDLE hWnd,
  ITrackCancel* pTrackCancel
);
[C++]
Parameters
pConnectionProperties [in]

pConnectionProperties is a parameter of type IPropertySet* hWnd [in]
hWnd is a parameter of type OLE_HANDLE pTrackCancel
pTrackCancel is a parameter of type ITrackCancel*

Product Availability

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

Remarks

Open returns a WMSConnection.

See Also

IWMSConnectionFactory Interface