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


IRasterServiceHelper2.OpenWMSConnection Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterServiceHelper2 Interface > IRasterServiceHelper2.OpenWMSConnection Method
ArcGIS Developer Help

IRasterServiceHelper2.OpenWMSConnection Method

Creates a raster dataset given a WMS/WCS or Image Service name object, connection properties and other properties like pixel size etc.

[Visual Basic .NET]
Public Function OpenWMSConnection ( _
    ByVal pName As IName, _
    ByVal pConnectionProperties As IPropertySet, _
    ByVal pWMSParameters As IPropertySet _
) As IRasterDataset
[C#]
public IRasterDataset OpenWMSConnection (
    IName pName,
    IPropertySet pConnectionProperties,
    IPropertySet pWMSParameters
);
[C++]
HRESULT OpenWMSConnection(
  IName* pName,
  IPropertySet* pConnectionProperties,
  IPropertySet* pWMSParameters
);
[C++]
Parameters
pName [in]

pName is a parameter of type IName* pConnectionProperties [in]
pConnectionProperties is a parameter of type IPropertySet* pWMSParameters [in]
pWMSParameters is a parameter of type IPropertySet*

Product Availability

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

See Also

IRasterServiceHelper2 Interface