Click or drag to resize
ObjectRelationshipInfoProviderRemoveRelationships Method
Deletes all the relationships for the specified object. Left and right parameters determine whether the object can be on left or right side of the relationship.

Namespace: CMS.Relationships
Assembly: CMS.Relationships (in CMS.Relationships.dll) Version: 8.2.23
Syntax
C#
public static void RemoveRelationships(
	int objectId,
	string objectType,
	bool left,
	bool right
)

Parameters

objectId
Type: SystemInt32
Object ID
objectType
Type: SystemString
Object type
left
Type: SystemBoolean
Object on the left side of the relationship
right
Type: SystemBoolean
Object on the right side of the relationship
See Also