ResourcePool.PutResource(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.