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


IImageServer4.Add Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageServer4 Interface > IImageServer4.Add Method
ArcGIS Developer Help

IImageServer4.Add Method

Adds a list of raster items for sharing with other users (roles).

[Visual Basic .NET]
Public Function Add ( _
    ByVal pItemDescriptions As IRasterItemDescriptions _
) As IImageServerEditResults
[C#]
public IImageServerEditResults Add (
    IRasterItemDescriptions pItemDescriptions
);
[C++]
HRESULT Add(
  IRasterItemDescriptions* pItemDescriptions
);
[C++]
Parameters
pItemDescriptions [in]

pItemDescriptions is a parameter of type IRasterItemDescriptions*

Product Availability

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

Description

Add rasters to an image service (created from a SDE mosaic dataset) using the given RasterItemDescriptions

Remarks

Use Add method to add raster datasets, or other supported raster types (defined by the image service) to image service. Supported raster types are available through IImageServiceInfo3.

RasterItemDescription describes all required information, including name and location of the raster files (through shared path or http), visibility range, attribute values, raster type etc. If the source rasters are not georeferenced, georeferncing information (geodataTransformations) can be specified in RasterItemDescription.

See Also

IImageServer4 Interface