TenantId

This property sets the Azure tenant identifier under which applications (client app or database) are registered.

Declaration

// C#
public string TenantId { set; }

Exceptions

InvalidOperationException – if application tries to set this property once a connection is already opened using its encapsulating object.