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