IAzApplication::Submit method (azroles.h)

The Submit method persists changes made to the IAzApplication object.

Syntax

HRESULT Submit(
  [in]           LONG    lFlags,
  [in, optional] VARIANT varReserved
);

Parameters

[in] lFlags

Flags that modify the behavior of the Submit method. The default value is zero. If the AZ_SUBMIT_FLAG_ABORT flag is specified, the changes to the object are discarded and the object is updated to match the underlying policy store.

[in, optional] varReserved

Reserved for future use.

Return value

None

Remarks

Any additions or modifications to an IAzApplication object are not persisted until the Submit method is called.

The Submit method does not extend to child objects; child objects must be individually persisted to the policy store. A created IAzApplication object must be submitted before it can be referenced or become a parent object. The destructor for an object silently discards unsubmitted changes.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header azroles.h
Library Azroles.lib
DLL Azroles.dll
Redistributable Windows Server 2003 Administration Tools Pack on Windows XP