IGPMMigrationTable::Add method (gpmgmt.h)

Adds entries from the IGPMGPO and IGPMBackup interfaces. The method updates any entries that are already present in the migration table.

Syntax

HRESULT Add(
  [in] long    lFlags,
  [in] VARIANT var
);

Parameters

[in] lFlags

This parameter must be one of the following values.

0

Do not take security principals from the DACLs in the backup GPO or the live GPO.

GPM_PROCESS_SECURITY

Copy all the entries from the DACLs and settings.

[in] var

Dispatch pointer to an IGPMGPO or IGPMBackup interface.

Return value

JScript

Returns S_OK if successful. Returns a failure code if an error occurs.

VB

Returns S_OK if successful. Returns a failure code if an error occurs.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See also

IGPM

IGPMMigrationTable