2 writes to cachedEntry
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (2)
77cachedEntry = de.Children.Add(rdn, "siteLink"); 109this.cachedEntry = entry;
43 references to cachedEntry
System.DirectoryServices (43)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (30)
78cachedEntry.Properties["cost"].Value = appDefaultCost; 79cachedEntry.Properties["replInterval"].Value = appDefaultInterval; 81cachedEntry.Properties[nameof(schedule)].Value = schedule.GetUnmanagedSchedule(); 238_sites.de = cachedEntry; 253if (cachedEntry.Properties.Contains("cost")) 254return (int)cachedEntry.Properties["cost"][0]!; 274cachedEntry.Properties["cost"].Value = value; 292if (cachedEntry.Properties.Contains("replInterval")) 294int tmpValue = (int)cachedEntry.Properties["replInterval"][0]!; 323cachedEntry.Properties["replInterval"].Value = totalMinutes; 343propValue = cachedEntry.Properties["options"]; 371propValue = cachedEntry.Properties["options"]; 387cachedEntry.Properties["options"].Value = options; 407propValue = cachedEntry.Properties["options"]; 435propValue = cachedEntry.Properties["options"]; 451cachedEntry.Properties["options"].Value = options; 472propValue = cachedEntry.Properties["options"]; 502propValue = cachedEntry.Properties["options"]; 519cachedEntry.Properties["options"].Value = options; 538if (cachedEntry.Properties.Contains("schedule")) 540byte[] tmpSchedule = (byte[])cachedEntry.Properties["schedule"][0]!; 562if (cachedEntry.Properties.Contains("schedule")) 563cachedEntry.Properties["schedule"].Clear(); 567cachedEntry.Properties["schedule"].Value = value.GetUnmanagedSchedule(); 584cachedEntry.CommitChanges(); 614cachedEntry.Parent.Children.Remove(cachedEntry); 642return DirectoryEntryManager.GetDirectoryEntryInternal(context, cachedEntry.Path); 657cachedEntry?.Dispose(); 704Hashtable values = Utils.GetValuesWithRangeRetrieval(cachedEntry, "(objectClass=*)", propertyList, SearchScope.Base);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkCollection.cs (9)
78string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 83string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 106string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 111string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 143string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 148string tmpDn = (string)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName)!; 185string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 202string dn = (string)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName)!; 218string newdn = (string)PropertyManager.GetPropertyValue(newLink.context, newLink.cachedEntry, PropertyManager.DistinguishedName)!;
System\DirectoryServices\ActiveDirectory\ReadOnlySiteLinkCollection.cs (4)
22string? dn = (string?)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName); 27string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName); 42string? dn = (string?)PropertyManager.GetPropertyValue(link.context, link.cachedEntry, PropertyManager.DistinguishedName); 47string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.cachedEntry, PropertyManager.DistinguishedName);