10 references to Context
System.DirectoryServices (10)
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (4)
151
DirectoryContext sourceServerContext = sourceServer.
Context
;
955
sourceDE = DirectoryEntryManager.GetDirectoryEntry(sourceServer.
Context
, WellKnownDN.RootDSE);
961
string? sourceRoot = (string?)PropertyManager.GetPropertyValue(sourceServer.
Context
, sourceDE, PropertyManager.RootDomainNamingContext);
970
string? sourceRoot = (string?)PropertyManager.GetPropertyValue(sourceServer.
Context
, sourceDE, PropertyManager.ConfigurationNamingContext);
System\DirectoryServices\ActiveDirectory\Utils.cs (6)
865
DirectoryEntry de = DirectoryEntryManager.GetDirectoryEntry(server.
Context
, siteName);
907
originatingServerName = (string?)PropertyManager.GetPropertyValue(server.
Context
, srvEntry, PropertyManager.DnsHostName);
912
throw ExceptionHelper.GetExceptionFromCOMException(server.
Context
, e);
917
DirectoryEntry de = DirectoryEntryManager.GetDirectoryEntry(server.
Context
, serverObjectDN);
928
throw ExceptionHelper.GetExceptionFromCOMException(server.
Context
, e);
933
int portnumber = (int)PropertyManager.GetPropertyValue(server.
Context
, de, PropertyManager.MsDSPortLDAP)!;