Export (0) Print
Expand All

ResourcePool.PutResource Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft