4 writes to _context
System.DirectoryServices (4)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (4)
128
_context
= new DirectoryContext(context);
145
_context
= context;
187
_context
= context;
210
_context
= context;
17 references to _context
System.DirectoryServices (17)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (17)
316
_schemaEntry ??= DirectoryEntryManager.GetDirectoryEntry(
_context
, WellKnownDN.SchemaNamingContext);
325
throw ExceptionHelper.GetExceptionFromCOMException(
_context
, e);
330
throw new ActiveDirectoryOperationException(SR.Format(SR.ADAMInstanceNotFoundInConfigSet,
_context
.Name));
396
ActiveDirectorySchema schemaObject = ActiveDirectorySchema.GetSchema(
_context
);
406
if (Utils.Compare(schemaRoleOwner.Name,
_context
.GetServerName()) != 0)
408
DirectoryContext schemaRoleOwnerContext = Utils.GetNewDirectoryContext(schemaRoleOwner.Name, DirectoryContextType.DirectoryServer,
_context
);
430
throw ExceptionHelper.GetExceptionFromCOMException(
_context
, e);
470
return DirectoryEntryManager.GetDirectoryEntryInternal(
_context
, _propertyEntry.Path);
534
throw ExceptionHelper.GetExceptionFromCOMException(
_context
, e);
653
throw ExceptionHelper.GetExceptionFromCOMException(
_context
, e);
978
_schemaEntry ??= DirectoryEntryManager.GetDirectoryEntry(
_context
, WellKnownDN.SchemaNamingContext);
981
ReadOnlyActiveDirectorySchemaPropertyCollection linkedProperties = ActiveDirectorySchema.GetAllProperties(
_context
, _schemaEntry, filter);
992
throw ExceptionHelper.GetExceptionFromCOMException(
_context
, e);
1127
throw ExceptionHelper.GetExceptionFromCOMException(
_context
, e);
1140
_schemaEntry ??= DirectoryEntryManager.GetDirectoryEntry(
_context
, WellKnownDN.SchemaNamingContext);
1142
_propertyValuesFromServer = GetPropertiesFromSchemaContainer(
_context
, _schemaEntry, (_isDefunctOnServer) ? _commonName! : _ldapDisplayName, _isDefunctOnServer);
1287
_propertyEntry = DirectoryEntryManager.GetDirectoryEntry(
_context
, (string)GetValueFromCache(PropertyManager.DistinguishedName, true)!);