ResourcePool.PutResource(Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Ajoute une ressource à la transaction en cours.
public:
bool PutResource(System::Object ^ resource);
public bool PutResource (object resource);
member this.PutResource : obj -> bool
Public Function PutResource (resource As Object) As Boolean
Paramètres
- resource
- Object
Ressource à ajouter.
Retours
true si l'objet ressource a été ajouté au pool ; sinon, false.