The OverwriteObjects method sets or retrieves the overwrite objects flag.
Syntax
The OverwriteObjects method has the following format:
Netegrity::PolicyMgtDataMgr‑>OverwriteObjects([overwriteFlag])
Parameters
The OverwriteObjects method accepts the following parameter:
overwriteFlag (int)
(Optional) Specifies whether to allow existing objects to be overwritten:
Return Value
The OverwriteObjects method returns one of the following values:
Remarks
This flag determines whether existing objects should be overwritten during a call to the PolicyMgtDataMgr‑>Import method.
When you create a data manager object with the PolicyMgtSession‑>CreateDataManager method, this flag is initialized to 1 (overwrite existing objects).
To set the overwrite flag, call this method before calling the PolicyMgtDataMgr‑>Import method for the object. For a given instance of the data manager, a flag maintains its setting unless you reset it.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |