Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.15 KB

File metadata and controls

36 lines (27 loc) · 1.15 KB
title getFailoverPartner Method (SQLServerDataSource)
description getFailoverPartner Method (SQLServerDataSource)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDataSource.getFailoverPartner
apitype Assembly

getFailoverPartner Method (SQLServerDataSource)

[!INCLUDEDriver_JDBC_Download]

Returns the name of the failover server that is used in a database mirroring configuration.

Syntax

  
public string getFailoverPartner()  

Return Value

A String that contains the name of the failover partner, or null if none is set.

Remarks

The value returned by this method reflects the failover partner name set using the setFailoverPartner method.

See Also

SQLServerDataSource Members
SQLServerDataSource Class