Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

5.32 DelSubRef

procedure DelSubRef(childNC: DSName) 

Informative summary of behavior: This procedure deletes a sub-ref object for the NC childNC, if it exists.

parentNC: DSName
rt: ULONG

/* If the sub-ref object is not instantiated, delete it */
if(IT_UNINSTANT in childNC!instanceType)
then
   rt:=RemoveObj(childNC, false)
   /* Ignore rt because there are no possible errors returned by RemoveObj 
   while deleting a subref object. RemoveObj always returns success in this
   procedure */

else
   /* Otherwise, just prevent continuation referrals from being
   * generated by removing childNC from the parent's subRefs list.
   */
   parentNC := GetObjectNC(ChildNC)
   parentNC!subRefs := parentNC!subRefs – {childNC}
endif
 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.