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.
}

© 1997 Microsoft Corporation. All rights reserved.