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


IMxdServer.StartWithData Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMxdServer Interface > IMxdServer.StartWithData Method
ArcGIS Developer Help

IMxdServer.StartWithData Method

An alternative to calling Start() with a document name, 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 .NET]
Public Sub StartWithData ( _
    ByVal pDataset As IDataset _
)
[C#]
public void StartWithData (
    IDataset pDataset
);
[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

IMxdServer Interface