Show / Hide Table of Contents

Method SetSearchWhereClause

SetSearchWhereClause(String, String)

Sets a search filter that specifies which network elements facilities and incidents can be located on.

Declaration
public void SetSearchWhereClause(string sourceName, string searchWhereClause)
Parameters
Type Name Description
System.String sourceName

Name of the source feature class to filter.

System.String searchWhereClause

The search WHERE clause (SQL expression).

Remarks

Only features satisfying the WHERE clause for the specified feature class will be used to locate facilities or incidents on the network during the solve operation. If a WHERE clause is not set, all network features are used.

See Also
GetSearchWhereClause(String)

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.