ArcObjects Library Reference  (Carto)    

IMapServerInit.StartWithData Method

An alternative to calling Connect(). This method synthesizes a map document with a single layer based on the given IDataset object and initializes the map server for processing.

[Visual Basic 6.0]
Sub StartWithData(
    ByVal pDataset As IDataset _
)
[Visual Basic .NET]
Public Sub StartWithData ( _
    ByVal pDataset As IDataset _
)
[C#]
public void StartWithData (
    IDataset pDataset
);
[Java]
public void startWithData (
    IDataset pDataset
)
throws
    IOException,
    AutomationException
[C++]
HRESULT StartWithData(
  IDataset* pDataset
);
[C++]

Parameters

pDataset [in]

  pDataset is a parameter of type IDataset

Product Availability

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

See Also

IMapServerInit Interface