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,
long* ErrorCode,
BSTR* ErrorDescription,
BSTR* errorAppendInfo,
VARIANT_BOOL* isValid
);
[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 isValid [out, retval] isValid is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.