Indicates if this evaluator's values should be computed and stored when the network is built or computed at run time and never stored.
[Visual Basic .NET] Public ReadOnly Property CacheAttribute As Boolean
[C#] public bool CacheAttribute {get;}
[C++]
HRESULT get_CacheAttribute(
VARIANT_BOOL* Cache
);
[C++]Parameters
Cache [out, retval] Cache is a parameter of type VARIANT_BOOL
Product Availability
Remarks
The CacheAttribute property determines whether the values computed by this evaluator are stored in the logical network of the network dataset.
If the CacheAttribute property is set to True, then the attribute values are computed by the evaluator only when the network is built. The computed attribute values are then stored in the logical network. When a client queries for attribute values (such as during a network analysis), the attribute values are retrieved from the logical network.
If the CacheAttribute property is set to False, then the attribute values are computed by the evaluator whenever any client asks for an attribute value (such as during a network analysis). The computed attribute values are not stored in the logical network. Depending on the complexity of the evaluator, this operation can be much slower than looking up values stored in the logical network.