Description

Reset/revert changes made to an McDBRight representing access rights to Unsecure database objects.

Return Type

None  

Syntax

object.Reload

The Reload Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDBRight.

Remarks

McDBRight objects are transient, and changes are not actually committed until their Owner commits them. Since an McDBRight representing access to Unsecure objects does not have an Owner, this method reverts changes made to an McDBRight of this type by reloading its contents.

Exceptions

Error Value Description
E_FAIL &H80004005 This McDBRight represents a rights combination of a Owner McDBRights object. That is, the access rights represented in an McDBNode.Rights object. It is not valid to use this method under this condition, as all of the McDBRights.Item rights are reset simultaneously using McDBRights.Reload.

Notes

This method is equivalent to reassigning it to its original source, see the example.