Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.94 KB

File metadata and controls

50 lines (36 loc) · 1.94 KB
title isWrapperFor Method (SQLServerXADataSource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
ms.assetid d612461d-4c3f-46db-b968-ff4c80b2aa7c
author David-Engel
ms.author v-daenge

isWrapperFor Method (SQLServerXADataSource)

[!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 (SQLServerXADataSource)
SQLServerXADataSource Methods
SQLServerXADataSource Members
SQLServerXADataSource Class