ResourcePool.PutResource Method (Object)

 

Adds a resource to the current transaction.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public bool PutResource(
	object resource
)

Parameters

resource
Type: System.Object

The resource to add.

Return Value

Type: System.Boolean

true if the resource object was added to the pool; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: