Platform SDK: Active Directory, ADSI, and Directory Services |
The Commit method writes the temporary object created by CreateNew to Active Directory™.
HRESULT Commit( );
If the method is successful, the return value is S_OK.
If an error occurs, the return value is a COM error code. For more information, see Error Handling.
CreateNew must be called before Commit.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsadmin.h.