Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.15 KB

getfailoverpartner-method-sqlserverdatasource.md

File metadata and controls

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