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


INASolver.Bind Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INASolver Interface > INASolver.Bind Method
ArcGIS Developer Help

INASolver.Bind Method

Re-associate the solver with the given network dataset and its schema.

[Visual Basic .NET]
Public Sub Bind ( _
    ByVal Context As INAContext, _
    ByVal network As IDENetworkDataset, _
    ByVal messages As IGPMessages _
)
[C#]
public void Bind (
    INAContext Context,
    IDENetworkDataset network,
    IGPMessages messages
);
[C++]
HRESULT Bind(
  INAContext* Context,
  IDENetworkDataset* network,
  IGPMessages* messages
);
[C++]
Parameters
Context [in]

Context is a parameter of type INAContext* network [in]
network is a parameter of type IDENetworkDataset* messages [in]
messages is a parameter of type IGPMessages*

Product Availability

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

Remarks

Calling Bind on the solver re-attaches the solver to the NAContext based on the current NetworkDataset settings.

See Also

INASolver Interface