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


IRasterServiceHelper2.OpenWMSConnection Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

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,
  IRasterDataset** ppDataset
);
[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 ppDataset [out, retval]
ppDataset is a parameter of type IRasterDataset

Product Availability

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

See Also

IRasterServiceHelper2 Interface