Enlists a volatile resource manager to participate in a transaction.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|EnlistVolatile(IEnlistmentNotification, EnlistmentOptions)||Enlists a volatile resource manager that supports two phase commit to participate in a transaction.|
|EnlistVolatile(ISinglePhaseNotification, EnlistmentOptions)||Enlists a volatile resource manager that supports single phase commit optimization to participate in a transaction.|
Volatile resource managers cannot recovery from failure to complete a transaction in which they were participating. For more information on volatile and durable resources, as well as how to enlist a resource, see Implementing A Resource Manager. For more information on how a resource manager responds to commit notification and prepare the commit, see Committing A Transaction In Single-Phase and Multi-Phase.