SISConnectorSvcAddAssociation Method |
This method is used to associate an instance of a CampusNexus CRM Object with an instance of the same or different CampusNexus CRM Object
using a Relationship. The Object instance that must be associated with the former instance is referred to as the target
instance. The Object instance with which the target instance must be associated is referred to as the source instance.
Note: You can update the Property values of a Relationship only if the Relationship is of type Many to Many.
Namespace: SISConnectorService
C#
public ReturnStatus AddAssociation( RelationInformation relationInfo, out long transactionId )
Parameters
- relationInfo
- Type: Talisma.Server.TLSysSISConnectorRelationInformation
The RelationInformation structure contains information about the Object instances between which an association must be established. - transactionId
- Type: SystemInt64
The ID of the transaction in the Incoming Transaction queue.
Return Value
Type: ReturnStatusThe AddAssociation method returns the ReturnStatus structure with the value of the statusId member as 0 if the operation is successful and -1 along with the error code and error message if the operation fails.
