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