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