This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterServiceHelper2 Interface > IRasterServiceHelper2.OpenWMSConnection Method (ArcObjects .NET 10.5 SDK) |
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