IObjectContext::EnableCommit Method Example

#include <mtx.h>

IObjectContext* pObjectContext = NULL;
HRESULT hr;

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

© 1997 Microsoft Corporation. All rights reserved.