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(
  long    lFlags,
  VARIANT var
);

Parameters

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.

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

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

See also

IGPM

IGPMMigrationTable