Reloads the zone object data from the data in Active Directory.


void Refresh()


This method refreshes the zone information in the cached object to ensure it is synchronized with the latest information in Active Directory.


Refresh may throw the following exception:

  • COMException if an LDAP error occurs. LDAP errors can occur if the connection to the LDAP server fails, the connection times out, invalid credentials are presented, or there are other problems communicating with Active Directory.


The following code sample illustrates using this method in a script:

'Specify the zone you want to work with
set objZone = cims.GetZoneByPath("LDAP://CN=corporate,CN=zones,CN=centrify,
CN=program data,DC=sierra,DC=com") 'Change the zone description objZone.Description = "Corporate offices, Edinburgh” objZone.Commit 'Reload the zone object objZone.Refresh ...