3 writes to _contextType
System.DirectoryServices (3)
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (3)
51
_contextType
= contextType;
66
_contextType
= contextType;
85
_contextType
= context.ContextType;
8 references to _contextType
System.DirectoryServices (8)
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (8)
178
public DirectoryContextType ContextType =>
_contextType
;
382
if (
_contextType
!= DirectoryContextType.Forest)
395
if (
_contextType
!= DirectoryContextType.Domain)
408
if (
_contextType
!= DirectoryContextType.ApplicationPartition)
421
if (
_contextType
!= DirectoryContextType.DirectoryServer)
434
if (
_contextType
!= DirectoryContextType.ConfigurationSet)
488
switch (
_contextType
)
511
if ((_name == null) || ((
_contextType
== DirectoryContextType.Forest) && (isCurrentForest())))