Retrieves whether updates that are made by others are visible.
public boolean othersUpdatesAreVisible(int type)
參數
type
An int that indicates the result set type, which can be one of the following values as defined in java.sql.ResultSet or SQLServerResultSet:
java.sql.ResultSet Types
TYPE_FORWARD_ONLY
TYPE_SCROLL_SENSITIVE
TYPE_SCROLL_INSENSITIVE
SQLServerResultSet Types
TYPE_SS_SCROLL_STATIC
TYPE_SS_SCROLL_KEYSET
TYPE_SS_DIRECT_FORWARD_ONLY
TYPE_SS_SERVER_CURSOR_FORWARD_ONLY
TYPE_SS_SCROLL_DYNAMIC
傳回值
true if the updates are visible. Otherwise, false.
例外狀況
備註
This othersUpdatesAreVisible method is specified by the othersUpdatesAreVisible method in the java.sql.DatabaseMetaData interface.
另請參閱
參考
SQLServerDatabaseMetaData Class
概念
SQLServerDatabaseMetaData Methods
SQLServerDatabaseMetaData Members