setMultiSubnetFailover 方法 (SQLServerDataSource)setMultiSubnetFailover Method (SQLServerDataSource)

下载下载 JDBC 驱动程序DownloadDownload JDBC Driver

设置 multiSubnetFailover 连接属性的值。Sets the value of the multiSubnetFailover connection property.

语法Syntax

public void setMultiSubnetFailover(boolean multiSubnetFailover);  

参数Parameters

multiSubnetFailovermultiSubnetFailover

multiSubnetFailover 连接属性的新值。The new value of the multiSubnetFailover connection property.

注解Remarks

若要详细了解 multiSubnetFailover 连接属性,请参阅设置连接属性For more information about the multiSubnetFailover connection property, see Setting the Connection Properties.

另请参阅See Also

SQLServerDataSource.getMultiSubnetFailover SQLServerDataSource.getMultiSubnetFailover
SQLServerDataSource 成员 SQLServerDataSource Members
SQLServerDataSource 类SQLServerDataSource Class