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


IRasterServiceHelper2.OpenFromURL Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterServiceHelper2.OpenFromURL Method

Opens the image service referenced by the URL as a raster dataset.

[Visual Basic .NET]
Public Function OpenFromURL ( _
    ByVal URL As String, _
    ByVal RasterTypeName As String, _
    ByVal pWMSParameters As IPropertySet _
) As IRasterDataset
[C#]
public IRasterDataset OpenFromURL (
    string URL,
    string RasterTypeName,
    IPropertySet pWMSParameters
);
[C++]
HRESULT OpenFromURL(
  BSTR URL,
  BSTR RasterTypeName,
  IPropertySet* pWMSParameters,
  IRasterDataset** ppDataset
);
[C++]

Parameters URL [in] URL is a parameter of type BSTR RasterTypeName [in] RasterTypeName is a parameter of type BSTR 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