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)
178public DirectoryContextType ContextType => _contextType; 382if (_contextType != DirectoryContextType.Forest) 395if (_contextType != DirectoryContextType.Domain) 408if (_contextType != DirectoryContextType.ApplicationPartition) 421if (_contextType != DirectoryContextType.DirectoryServer) 434if (_contextType != DirectoryContextType.ConfigurationSet) 488switch (_contextType) 511if ((_name == null) || ((_contextType == DirectoryContextType.Forest) && (isCurrentForest())))