ITenantRelationService AddTenantRelation Method CelloSaaS API Documentation
This method is used to add a given relation between the given parent and child tenant

Namespace: CelloSaaS.ServiceContracts.TenantManagement
Assembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

void AddTenantRelation(
	string parentTenantCode,
	string childTenantCode,
	string tenantRelationTypeId
)

Parameters

parentTenantCode
Type: System String
parent tenant id
childTenantCode
Type: System String
child tenant id
tenantRelationTypeId
Type: System String
tenant relation id
Exceptions

ExceptionCondition
System ArgumentNullExceptionThrows Argument Null Exception. If any mandatory argument is null or empty.
System ArgumentExceptionThrows Argument Exception
CelloSaaS.ServiceContracts.TenantManagement TenantRelationExceptionThrows Tenant Relation Exception
See Also