Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.33 KB

File metadata and controls

50 lines (38 loc) · 1.33 KB
title prepare Method (SQLServerXAResource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerXAResource.prepare
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid f800c966-3fae-41b3-963a-464988f80da3
author David-Engel
ms.author v-daenge

prepare Method (SQLServerXAResource)

[!INCLUDEDriver_JDBC_Download]

Requests that the resource manager prepare for a transaction commit of the transaction specified by the given Xid object.

Syntax

  
public int prepare(javax.transaction.xa.Xid xid)  

Parameters

xid

An Xid object.

Return Value

An int value.

Exceptions

javax.transaction.xa.XAException

Remarks

This prepare method is specified by the prepare method in the javax.transaction.xa.XAResource interface.

See Also

SQLServerXAResource Methods
SQLServerXAResource Members
SQLServerXAResource Class