PublicAPI.CRM.Relationship.CompleteRelationship ELMA API Documentation
Complete Relationship
 
 
Syntax

public void CompleteRelationship(
	Relationship relationship,
	string comment
)

Parameters

relationship
Type: Relationship
Relationship to complete. Object. Access path: PublicAPI.CRM.Relationship
comment
Type: System String
Comment (optional parameter)
Examples

//load a relationship by ID 
var relationship = PublicAPI.CRM.Relationship.Load(3);
//comment to the relationship completion 
var comment= "Comment";

//complete the relationship
PublicAPI.CRM.Relationship.CompleteRelationship(relationship, comment);
See Also