Share via


isWrapperFor Method (SQLServerXADataSource)

Indicates whether this object is a wrapper for the specified interface.

Hinweis

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public boolean isWrapperFor(Class iface)

Parameter

iface

A class defining an interface.

Rückgabewert

true if this object implements the interface or wraps an object that implements the interface. Otherwise, false.

Ausnahmen

SQLServerException

Hinweise

The isWrapperFor method and the unwrap method are defined by the java.sql.Wrapper interface, which is introduced in the JDBC 4.0 Spec.

If this method returns true, calling unwrap with the same argument will succeed.

Siehe auch

Referenz

unwrap Method (SQLServerXADataSource)
SQLServerXADataSource Class

Konzepte

SQLServerXADataSource Methods
SQLServerXADataSource Members