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