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