Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 2.03 KB

iswrapperfor-method-sqlserverconnectionpooldatasource.md

File metadata and controls

47 lines (33 loc) · 2.03 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic
isWrapperFor Method (SQLServerConnectionPoolDataSource)
isWrapperFor Method (SQLServerConnectionPoolDataSource)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference

isWrapperFor Method (SQLServerConnectionPoolDataSource)

[!INCLUDEDriver_JDBC_Download]

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

Syntax

  
public boolean isWrapperFor(Class iface)  

Parameters

iface

A class defining an interface.

Return Value

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

Exceptions

SQLServerException

Remarks

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.

For more information, see Wrappers and Interfaces.

See Also

unwrap Method (SQLServerConnectionPoolDataSource)
SQLServerConnectionPoolDataSource Methods
SQLServerConnectionPoolDataSource Members
SQLServerConnectionPoolDataSource Class