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


IServerConnectionAOI.SetServiceAreaOfInterest Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (TrackingAnalyst)  

IServerConnectionAOI.SetServiceAreaOfInterest Method

The service area of interest.

[Visual Basic .NET]
Public Sub SetServiceAreaOfInterest ( _
    ByVal bstrServiceName As String, _
    ByVal aoiType As esriTxServiceAOI, _
    ByVal aoi As IEnvelope _
)
[C#]
public void SetServiceAreaOfInterest (
    string bstrServiceName,
    esriTxServiceAOI aoiType,
    IEnvelope aoi
);
[C++]
HRESULT SetServiceAreaOfInterest(
  BSTR bstrServiceName,
  esriTxServiceAOI aoiType,
  IEnvelope* aoi
);
[C++]

Parameters bstrServiceName [in] bstrServiceName is a parameter of type BSTR aoiType [in]
aoiType is a parameter of type esriTxServiceAOI aoi [in]
aoi is a parameter of type IEnvelope

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

IServerConnectionAOI Interface