This document is archived and information here might be outdated. Recommended version. |
Adds a new weight association to the network.
[Visual Basic .NET] Public Sub AddWeightAssociation ( _ ByVal weightSource As INetWeightAssociation _ )
[C#] public void AddWeightAssociation ( INetWeightAssociation weightSource );
[C++]
HRESULT AddWeightAssociation(
INetWeightAssociation* weightSource
);
[C++] Parameters weightSource [in]
weightSource is a parameter of type INetWeightAssociation*
AddWeightAssocation is used to add a new weight association to a weight already defined on the network. A weight is defined by its name, type, and set of weight associations. The weight associations define the table name and field name that participate in the weight. Multiple table name and field name combinations (weight associations) can participate within a single weight.
Only use this method on newly created stand-alone logical networks that do not have any topology.