共用方式為


getFailoverPartner Method (SQLServerDataSource)

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

public string getFailoverPartner()

傳回值

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

備註

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

另請參閱

參考

SQLServerDataSource Class

概念

SQLServerDataSource Methods
SQLServerDataSource Members