IMultiTenancyServiceGetTenantInfo(Guid, Boolean) Method |
Gets minimal information about the tenant with the specified ID.
Namespace: Dundas.BI.AccountServices.MultiTenancyAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
SyntaxTenantInfo GetTenantInfo(
Guid id,
bool throwIfNotFound
)
Function GetTenantInfo (
id As Guid,
throwIfNotFound As Boolean
) As TenantInfo
TenantInfo^ GetTenantInfo(
Guid id,
bool throwIfNotFound
)
abstract GetTenantInfo :
id : Guid *
throwIfNotFound : bool -> TenantInfo Parameters
- id Guid
- The ID of the tenant.
- throwIfNotFound Boolean
- Specifies whether an exception will be thrown if the specified tenant is not found.
Return Value
TenantInfoThe tenant corresponding to the specified ID.
Exceptions
Remarks
If
throwIfNotFound is
, and a tenant with the specified ID was not found, this method will return
a
TenantInfo object with only the
Id property populated.
See Also