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.RelationshipsAssembly: CMS.Relationships (in CMS.Relationships.dll) Version: 8.2.23
Syntax 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