3 writes to _crossRefEntry
System.DirectoryServices (3)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (3)
87_crossRefEntry = null; 1029_crossRefEntry = partitionsEntry.Children.Add(uniqueName, "crossRef"); 1109_crossRefEntry = Utils.GetCrossRefEntry(context, partitionsEntry, Name);
28 references to _crossRefEntry
System.DirectoryServices (28)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (28)
84if (_crossRefEntry != null) 86_crossRefEntry.Dispose(); 550partitionsEntry.Children.Remove(_crossRefEntry); 601_crossRefEntry.CommitChanges(); 617DirectoryEntry partitionsEntry = _crossRefEntry.Parent; 620partitionsEntry.Children.Remove(_crossRefEntry); 634_crossRefEntry.RefreshCache(); 659string crossRefDN = (string)PropertyManager.GetPropertyValue(context, _crossRefEntry!, PropertyManager.DistinguishedName)!; 688_crossRefEntry!.Properties[PropertyManager.MsDSNCReplicaLocations].AddRange(_cachedDirectoryServers.GetMultiValuedProperty()); 692_crossRefEntry!.Properties[PropertyManager.MsDSSDReferenceDomain].Value = _securityRefDomain; 696_crossRefEntry!.CommitChanges(); 714Debug.Assert(_crossRefEntry != null, "ApplicationPartition::Save - crossRefEntry on already committed partition which is being modified is null."); 715_crossRefEntry.CommitChanges(); 766_cachedDirectoryServers = new DirectoryServerCollection(context, (_committed) ? _crossRefEntry : null, isADAM, servers); 789if (_crossRefEntry.Properties[PropertyManager.MsDSSDReferenceDomain].Count > 0) 791return (string?)_crossRefEntry.Properties[PropertyManager.MsDSSDReferenceDomain].Value; 824if (_crossRefEntry.Properties.Contains(PropertyManager.MsDSSDReferenceDomain)) 826_crossRefEntry.Properties[PropertyManager.MsDSSDReferenceDomain].Clear(); 832_crossRefEntry.Properties[PropertyManager.MsDSSDReferenceDomain].Value = value; 1014[MemberNotNull(nameof(_crossRefEntry))] 1017if (_crossRefEntry != null) 1046_crossRefEntry.Properties[PropertyManager.DnsRoot].Value = dnsHostName; 1047_crossRefEntry.Properties[PropertyManager.Enabled].Value = false; 1048_crossRefEntry.Properties[PropertyManager.NCName].Value = distinguishedName; 1098[MemberNotNull(nameof(_crossRefEntry))] 1101if (_crossRefEntry != null) 1103return _crossRefEntry; 1115return _crossRefEntry;