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


INetworkEvaluatorSetup.ValidateSource Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkEvaluatorSetup Interface > INetworkEvaluatorSetup.ValidateSource Method
ArcGIS Developer Help

INetworkEvaluatorSetup.ValidateSource Method

Indicates if the network evaluator is in a valid state for use as the evaluator for the given network source and network attribute.

[Visual Basic .NET]
Public Function ValidateSource ( _
    ByVal datasetContainer As IDatasetContainer2, _
    ByVal NetworkSource As INetworkSource, _
    ByVal Attribute As IEvaluatedNetworkAttribute, _
    ByRef ErrorCode As Integer, _
    ByRef ErrorDescription As String, _
    ByRef errorAppendInfo As String _
) As Boolean
[C#]
public bool ValidateSource (
    IDatasetContainer2 datasetContainer,
    INetworkSource NetworkSource,
    IEvaluatedNetworkAttribute Attribute,
    ref int ErrorCode,
    ref string ErrorDescription,
    ref string errorAppendInfo
);
[C++]
HRESULT ValidateSource(
  IDatasetContainer2* datasetContainer,
  INetworkSource* NetworkSource,
  IEvaluatedNetworkAttribute* Attribute,
  System.Int32* ErrorCode,
  System.String* ErrorDescription,
  System.String* errorAppendInfo
);
[C++]
Parameters
datasetContainer [in]

datasetContainer is a parameter of type IDatasetContainer2* NetworkSource [in]
NetworkSource is a parameter of type INetworkSource* Attribute [in]
Attribute is a parameter of type IEvaluatedNetworkAttribute* ErrorCode [in, out]
ErrorCode is a parameter of type long* ErrorDescription [in, out]
ErrorDescription is a parameter of type BSTR* errorAppendInfo [in, out]
errorAppendInfo is a parameter of type BSTR*

Product Availability

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

See Also

INetworkEvaluatorSetup Interface