Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 1.26 KB

File metadata and controls

41 lines (32 loc) · 1.26 KB
title getFailoverPartner Method (SQLServerDataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerDataSource.getFailoverPartner
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 885f927f-9c48-42e0-a7fb-fd936d2b8130
author David-Engel
ms.author v-daenge

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