4 instantiations of ActiveDirectorySchema
System.DirectoryServices (4)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (1)
175
return new
ActiveDirectorySchema
(context, schemaNC, directoryEntryMgr);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (1)
302
_cachedSchema = new
ActiveDirectorySchema
(_context, _directoryEntryMgr.ExpandWellKnownDN(WellKnownDN.SchemaNamingContext));
System\DirectoryServices\ActiveDirectory\Forest.cs (1)
724
_cachedSchema = new
ActiveDirectorySchema
(_context, _directoryEntryMgr.ExpandWellKnownDN(WellKnownDN.SchemaNamingContext));
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
239
_schema = new
ActiveDirectorySchema
(context, schemaNC);
26 references to ActiveDirectorySchema
System.DirectoryServices (26)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (12)
87
public static
ActiveDirectorySchema
GetSchema(DirectoryContext context)
101
throw new ActiveDirectoryObjectNotFoundException(SR.ContextNotAssociatedWithDomain, typeof(
ActiveDirectorySchema
), null);
111
throw new ActiveDirectoryObjectNotFoundException(SR.ForestNotFound, typeof(
ActiveDirectorySchema
), context.Name);
115
throw new ActiveDirectoryObjectNotFoundException(SR.ConfigSetNotFound, typeof(
ActiveDirectorySchema
), context.Name);
119
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ServerNotFound, context.Name), typeof(
ActiveDirectorySchema
), null);
135
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ServerNotFound, context.Name), typeof(
ActiveDirectorySchema
), null);
148
throw new ActiveDirectoryObjectNotFoundException(SR.ForestNotFound, typeof(
ActiveDirectorySchema
), context.Name);
152
throw new ActiveDirectoryObjectNotFoundException(SR.ConfigSetNotFound, typeof(
ActiveDirectorySchema
), context.Name);
156
throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.ServerNotFound, context.Name), typeof(
ActiveDirectorySchema
), null);
169
throw new ActiveDirectoryObjectNotFoundException(SR.ConfigSetNotFound, typeof(
ActiveDirectorySchema
), context.Name);
381
public static
ActiveDirectorySchema
GetCurrentSchema()
383
return
ActiveDirectorySchema
.GetSchema(new DirectoryContext(DirectoryContextType.Forest));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (4)
24
private
ActiveDirectorySchema
? _schema;
354
ActiveDirectorySchema
schemaObject =
ActiveDirectorySchema
.GetSchema(_context);
367
_schema =
ActiveDirectorySchema
.GetSchema(schemaRoleOwnerContext);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (5)
31
private
ActiveDirectorySchema
? _schema;
396
ActiveDirectorySchema
schemaObject =
ActiveDirectorySchema
.GetSchema(_context);
409
_schema =
ActiveDirectorySchema
.GetSchema(schemaRoleOwnerContext);
981
ReadOnlyActiveDirectorySchemaPropertyCollection linkedProperties =
ActiveDirectorySchema
.GetAllProperties(_context, _schemaEntry, filter);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (2)
24
private
ActiveDirectorySchema
? _cachedSchema;
293
public
ActiveDirectorySchema
Schema
System\DirectoryServices\ActiveDirectory\Forest.cs (2)
40
private
ActiveDirectorySchema
? _cachedSchema;
715
public
ActiveDirectorySchema
Schema
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
13
private
ActiveDirectorySchema
? _schema;