Always On Availability Groups Functions (Transact-SQL)
Applies to: SQL Server
SQL Server provides the following Always On Availability Groups functions.
sys.fn_hadr_is_primary_replica
sys.fn_hadr_backup_is_preferred_replica
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: SQL Server
SQL Server provides the following Always On Availability Groups functions.
sys.fn_hadr_is_primary_replica
sys.fn_hadr_backup_is_preferred_replica