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

IServerConnectionAOI.SetServiceAreaOfInterest Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > TrackingAnalyst > ESRI.ArcGIS.TrackingAnalyst > Interfaces > IS > IServerConnectionAOI Interface > IServerConnectionAOI.SetServiceAreaOfInterest Method
ArcGIS Developer Help

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 _
public void SetServiceAreaOfInterest (
    string bstrServiceName,
    esriTxServiceAOI aoiType,
    IEnvelope aoi
HRESULT SetServiceAreaOfInterest(
  BSTR bstrServiceName,
  esriTxServiceAOI aoiType,
  IEnvelope* aoi
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