IObjectContext.IsInTransaction Method Example

import com.ms.mtx.*;


// Find out if the object is in a transaction.
if (!MTx.GetObjectContext().IsInTransaction()) {
   // If not, do something appropriate here.
}

© 1999 Microsoft Corporation. All rights reserved. Terms of use.