Partager via


IDtcLuConfigure::Delete

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The Delete method removes the specified configured LU pair to the Microsoft Distributed Transaction Coordinator (MSDTC).

Syntax

  
HRESULT Delete (   [in, size_is(  
cbLuPair  
)] byte *   
pucLuPair  
,   [in] DWORD   
cbLuPair  
);  
  

Parameters

pucLuPair
[in, size_is(cbLuPair)] The LU pair to remove from the MSDTC.

cbLuPair
[in] The size of the LU pair.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, and E_UNEXPECTED, as well as the following:

S_OK
Method completed successfully.

XACT_E_LU_NOT_FOUND
The specified LU pair is not configured.

XACT_E_XTIONEXISTS
The specified LU pair cannot be deleted because unrecovered transactions are associated with it.

XACT_E_LU_BUSY
The LU pair cannot be deleted because active transactions are associated with it.

XACT_E_CONNECTION_DOWN
The connection to the MSDTC is down.

XACT_E_CONNECTION_REQUEST_DENIED
The request to create a connection to the MSDTC was denied.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in txdtc.h