2 writes to cachedDirectoryEntry
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (2)
99
cachedDirectoryEntry
= connectionEntry;
146
cachedDirectoryEntry
= de.Children.Add(rdn, "nTDSConnection");
42 references to cachedDirectoryEntry
System.DirectoryServices (42)
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (38)
156
cachedDirectoryEntry
.Properties["fromServer"].Add(serverName);
160
cachedDirectoryEntry
.Properties[nameof(schedule)].Value = schedule.GetUnmanagedSchedule();
185
cachedDirectoryEntry
.Properties["transportType"].Add(transportPath);
188
cachedDirectoryEntry
.Properties["enabledConnection"].Value = false;
191
cachedDirectoryEntry
.Properties["options"].Value = 0;
213
if (disposing &&
cachedDirectoryEntry
!= null)
214
cachedDirectoryEntry
.Dispose();
246
string sourceServerDN = (string)PropertyManager.GetPropertyValue(context,
cachedDirectoryEntry
, PropertyManager.FromServer)!;
279
NTDSObject =
cachedDirectoryEntry
.Parent;
315
if (
cachedDirectoryEntry
.Properties.Contains("enabledConnection"))
316
return (bool)
cachedDirectoryEntry
.Properties["enabledConnection"][0]!;
332
cachedDirectoryEntry
.Properties["enabledConnection"].Value = value;
355
propValue =
cachedDirectoryEntry
.Properties["transportType"];
388
propValue =
cachedDirectoryEntry
.Properties["options"];
417
PropertyValueCollection propValue =
cachedDirectoryEntry
.Properties["options"];
438
cachedDirectoryEntry
.Properties["options"].Value = _options;
457
propValue =
cachedDirectoryEntry
.Properties["options"];
487
PropertyValueCollection propValue =
cachedDirectoryEntry
.Properties["options"];
508
cachedDirectoryEntry
.Properties["options"].Value = _options;
527
propValue =
cachedDirectoryEntry
.Properties["options"];
563
PropertyValueCollection propValue =
cachedDirectoryEntry
.Properties["options"];
590
cachedDirectoryEntry
.Properties["options"].Value = _options;
609
propValue =
cachedDirectoryEntry
.Properties["options"];
641
PropertyValueCollection propValue =
cachedDirectoryEntry
.Properties["options"];
664
cachedDirectoryEntry
.Properties["options"].Value = _options;
683
propValue =
cachedDirectoryEntry
.Properties["options"];
713
PropertyValueCollection propValue =
cachedDirectoryEntry
.Properties["options"];
734
cachedDirectoryEntry
.Properties["options"].Value = _options;
751
string destinationPath = (string)PropertyManager.GetPropertyValue(context,
cachedDirectoryEntry
, PropertyManager.FromServer)!;
780
scheduleExists =
cachedDirectoryEntry
.Properties.Contains("schedule");
789
byte[] tmpSchedule = (byte[])
cachedDirectoryEntry
.Properties["schedule"][0]!;
806
if (
cachedDirectoryEntry
.Properties.Contains("schedule"))
807
cachedDirectoryEntry
.Properties["schedule"].Clear();
811
cachedDirectoryEntry
.Properties["schedule"].Value = value.GetUnmanagedSchedule();
856
cachedDirectoryEntry
.Parent.Children.Remove(
cachedDirectoryEntry
);
872
cachedDirectoryEntry
.CommitChanges();
904
return DirectoryEntryManager.GetDirectoryEntryInternal(context,
cachedDirectoryEntry
.Path);
System\DirectoryServices\ActiveDirectory\ReplicationConnectionCollection.cs (4)
22
string? dn = (string?)PropertyManager.GetPropertyValue(connection.context, connection.
cachedDirectoryEntry
, PropertyManager.DistinguishedName);
27
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.
cachedDirectoryEntry
, PropertyManager.DistinguishedName);
45
string? dn = (string?)PropertyManager.GetPropertyValue(connection.context, connection.
cachedDirectoryEntry
, PropertyManager.DistinguishedName);
50
string? tmpDn = (string?)PropertyManager.GetPropertyValue(tmp.context, tmp.
cachedDirectoryEntry
, PropertyManager.DistinguishedName);