IObjectContext::DisableCommit Method Example

#include <mtx.h>


IObjectContext* pObjectContext = NULL;
HRESULT hr;

hr = GetObjectContext(&pObjectContext);
hr = pObjectContext->DisableCommit();

© 1997 Microsoft Corporation. All rights reserved.