48 references to ContextType
System.DirectoryServices (48)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (8)
92if ((context.ContextType != DirectoryContextType.Forest) && 93(context.ContextType != DirectoryContextType.ConfigurationSet) && 94(context.ContextType != DirectoryContextType.DirectoryServer)) 109if (context.ContextType == DirectoryContextType.Forest) 113else if (context.ContextType == DirectoryContextType.ConfigurationSet) 146if (context.ContextType == DirectoryContextType.Forest) 150else if (context.ContextType == DirectoryContextType.ConfigurationSet) 166if (context.ContextType == DirectoryContextType.ConfigurationSet)
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (3)
120if (context.ContextType != DirectoryContextType.DirectoryServer) 170if (context.ContextType != DirectoryContextType.ConfigurationSet) 196if (context.ContextType != DirectoryContextType.ConfigurationSet)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (2)
113if (context.ContextType != DirectoryContextType.ApplicationPartition) 277if (context.ContextType == DirectoryContextType.DirectoryServer)
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (7)
79if ((context.ContextType != DirectoryContextType.ConfigurationSet) && 80(context.ContextType != DirectoryContextType.DirectoryServer)) 89if (context.ContextType == DirectoryContextType.ConfigurationSet) 125if (context.ContextType == DirectoryContextType.ConfigurationSet) 141if (context.ContextType == DirectoryContextType.ConfigurationSet) 343if (forestContext.ContextType == DirectoryContextType.DirectoryServer) 380if (context.ContextType != DirectoryContextType.ConfigurationSet)
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (4)
85_contextType = context.ContextType; 89if (context.ContextType != DirectoryContextType.ConfigurationSet) 481return ((ContextType == DirectoryContextType.DirectoryServer) || (ContextType == DirectoryContextType.ConfigurationSet));
System\DirectoryServices\ActiveDirectory\Domain.cs (4)
68if ((context.ContextType != DirectoryContextType.Domain) && 69(context.ContextType != DirectoryContextType.DirectoryServer)) 84if (context.ContextType == DirectoryContextType.Domain) 118if (context.ContextType == DirectoryContextType.Domain)
System\DirectoryServices\ActiveDirectory\DomainController.cs (7)
131if (context.ContextType != DirectoryContextType.DirectoryServer) 178if (context.ContextType != DirectoryContextType.Domain) 190if (context.ContextType != DirectoryContextType.Domain) 204if (context.ContextType != DirectoryContextType.Domain) 216if (context.ContextType != DirectoryContextType.Domain) 230if (context.ContextType != DirectoryContextType.Domain) 245if (context.ContextType != DirectoryContextType.Domain)
System\DirectoryServices\ActiveDirectory\Forest.cs (5)
95if ((context.ContextType != DirectoryContextType.Forest) && 96(context.ContextType != DirectoryContextType.DirectoryServer)) 111if (context.ContextType == DirectoryContextType.Forest) 144if (context.ContextType == DirectoryContextType.Forest) 1047if (_context.ContextType == DirectoryContextType.DirectoryServer)
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (7)
39if (context.ContextType != DirectoryContextType.DirectoryServer) 93if (context.ContextType != DirectoryContextType.Forest) 105if (context.ContextType != DirectoryContextType.Forest) 119if (context.ContextType != DirectoryContextType.Forest) 131if (context.ContextType != DirectoryContextType.Forest) 145if (context.ContextType != DirectoryContextType.Forest) 160if (context.ContextType != DirectoryContextType.Forest)
System\DirectoryServices\ActiveDirectory\Utils.cs (1)
1039if (context.ContextType == DirectoryContextType.DirectoryServer)