2 writes to context
System.DirectoryServices (2)
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (2)
98this.context = context; 132this.context = context;
35 references to context
System.DirectoryServices (35)
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (31)
246string sourceServerDN = (string)PropertyManager.GetPropertyValue(context, cachedDirectoryEntry, PropertyManager.FromServer)!; 247DirectoryEntry de = DirectoryEntryManager.GetDirectoryEntry(context, sourceServerDN); 250int portnumber = (int)PropertyManager.GetPropertyValue(context, de, PropertyManager.MsDSPortLDAP)!; 251string? tmpServerName = (string?)PropertyManager.GetPropertyValue(context, de.Parent, PropertyManager.DnsHostName); 259_sourceServerName = (string?)PropertyManager.GetPropertyValue(context, de.Parent, PropertyManager.DnsHostName); 284throw ExceptionHelper.GetExceptionFromCOMException(context, e); 287string hostName = (string)PropertyManager.GetPropertyValue(context, serverObject, PropertyManager.DnsHostName)!; 290int portnumber = (int)PropertyManager.GetPropertyValue(context, NTDSObject, PropertyManager.MsDSPortLDAP)!; 322throw ExceptionHelper.GetExceptionFromCOMException(context, e); 336throw ExceptionHelper.GetExceptionFromCOMException(context, e); 359throw ExceptionHelper.GetExceptionFromCOMException(context, e); 392throw ExceptionHelper.GetExceptionFromCOMException(context, e); 442throw ExceptionHelper.GetExceptionFromCOMException(context, e); 461throw ExceptionHelper.GetExceptionFromCOMException(context, e); 512throw ExceptionHelper.GetExceptionFromCOMException(context, e); 531throw ExceptionHelper.GetExceptionFromCOMException(context, e); 594throw ExceptionHelper.GetExceptionFromCOMException(context, e); 613throw ExceptionHelper.GetExceptionFromCOMException(context, e); 668throw ExceptionHelper.GetExceptionFromCOMException(context, e); 687throw ExceptionHelper.GetExceptionFromCOMException(context, e); 738throw ExceptionHelper.GetExceptionFromCOMException(context, e); 751string destinationPath = (string)PropertyManager.GetPropertyValue(context, cachedDirectoryEntry, PropertyManager.FromServer)!; 754DirectoryEntry de = DirectoryEntryManager.GetDirectoryEntry(context, WellKnownDN.RootDSE); 755string serverDN = (string)PropertyManager.GetPropertyValue(context, de, PropertyManager.ServerName)!; 784throw ExceptionHelper.GetExceptionFromCOMException(context, e); 816throw ExceptionHelper.GetExceptionFromCOMException(context, e); 825DirectoryEntry de = DirectoryEntryManager.GetDirectoryEntry(context, WellKnownDN.RootDSE); 833throw ExceptionHelper.GetExceptionFromCOMException(context, e); 860throw ExceptionHelper.GetExceptionFromCOMException(context, e); 876throw ExceptionHelper.GetExceptionFromCOMException(context, e); 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);