ResourcePool.PutResource(Object) Method

Definition

Adds a resource to the current transaction.

public:
 bool PutResource(System::Object ^ resource);
public bool PutResource (object resource);
member this.PutResource : obj -> bool
Public Function PutResource (resource As Object) As Boolean

Parameters

resource
Object

The resource to add.

Returns

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

Applies to