Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.7 KB

File metadata and controls

60 lines (42 loc) · 1.7 KB
title getObjectInstance Method (SQLServerDataSourceObjectFactory)
description getObjectInstance Method (SQLServerDataSourceObjectFactory)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerDataSourceObjectFactory.getObjectInstance
apitype Assembly

getObjectInstance Method (SQLServerDataSourceObjectFactory)

[!INCLUDEDriver_JDBC_Download]

Retrieves an instance of the specified data source object.

Syntax

  
public java.lang.Object getObjectInstance(java.lang.Object ref,  
                                          javax.naming.Name name,  
                                          javax.naming.Context c,  
                                          java.util.Hashtable h)  

Parameters

ref

An Object value.

name

The name of the object.

c

The context relative to the specified name.

h

The environment that is used in creating the object.

Return Value

An Object value.

Exceptions

java.sql.SQLException

Remarks

This getObjectInstance method is specified by the getObjectInstance method in the javax.naming.spi.ObjectFactory interface.

See Also

SQLServerDataSourceObjectFactory Methods
SQLServerDataSourceObjectFactory Members
SQLServerDataSourceObjectFactory Class