5 instantiations of GlobalCatalog
System.DirectoryServices (5)
System\DirectoryServices\ActiveDirectory\DomainController.cs (1)
280return new GlobalCatalog(context, Name);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (3)
86return new GlobalCatalog(context, gcDnsName, directoryEntryMgr); 403return new GlobalCatalog(gcContext, globalCatalogName); 418gcList.Add(new GlobalCatalog(gcContext, gcName));
System\DirectoryServices\ActiveDirectory\Locator.cs (1)
117dcs.Add(new GlobalCatalog(dcContext, dcName));
39 references to GlobalCatalog
System.DirectoryServices (37)
System\DirectoryServices\ActiveDirectory\DomainController.cs (1)
258public virtual GlobalCatalog EnableGlobalCatalog()
System\DirectoryServices\ActiveDirectory\Forest.cs (10)
231public GlobalCatalog FindGlobalCatalog() 235return GlobalCatalog.FindOneInternal(_context, Name, null, 0); 238public GlobalCatalog FindGlobalCatalog(string siteName) 244return GlobalCatalog.FindOneInternal(_context, Name, siteName, 0); 247public GlobalCatalog FindGlobalCatalog(LocatorOptions flag) 251return GlobalCatalog.FindOneInternal(_context, Name, null, flag); 254public GlobalCatalog FindGlobalCatalog(string siteName, LocatorOptions flag) 260return GlobalCatalog.FindOneInternal(_context, Name, siteName, flag); 267return GlobalCatalog.FindAllInternal(_context, null); 276return GlobalCatalog.FindAllInternal(_context, siteName);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (17)
28public static GlobalCatalog GetGlobalCatalog(DirectoryContext context) 47throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name); 62throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name); 69throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name); 78throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name); 89public static new GlobalCatalog FindOne(DirectoryContext context) 101public static new GlobalCatalog FindOne(DirectoryContext context, string siteName) 115public static new GlobalCatalog FindOne(DirectoryContext context, LocatorOptions flag) 127public static new GlobalCatalog FindOne(DirectoryContext context, string siteName, LocatorOptions flag) 173public override GlobalCatalog EnableGlobalCatalog() 266internal static new GlobalCatalog FindOneWithCredentialValidation(DirectoryContext context, string? siteName, LocatorOptions flag) 268GlobalCatalog gc; 293throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.GCNotFoundInForest, context.Name), typeof(GlobalCatalog), null); 323throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.GCNotFoundInForest, context.Name), typeof(GlobalCatalog), null); 342internal static new GlobalCatalog FindOneInternal(DirectoryContext context, string? forestName, string? siteName, LocatorOptions flag) 367throw new ActiveDirectoryObjectNotFoundException(SR.ContextNotAssociatedWithDomain, typeof(GlobalCatalog), null); 383throw new ActiveDirectoryObjectNotFoundException(SR.Format(SR.GCNotFoundInForest, forestName), typeof(GlobalCatalog), null);
System\DirectoryServices\ActiveDirectory\GlobalCatalogCollection.cs (9)
20public GlobalCatalog this[int index] => (GlobalCatalog)InnerList[index]!; 22public bool Contains(GlobalCatalog globalCatalog) 29GlobalCatalog tmp = (GlobalCatalog)InnerList[i]!; 38public int IndexOf(GlobalCatalog globalCatalog) 45GlobalCatalog tmp = (GlobalCatalog)InnerList[i]!; 54public void CopyTo(GlobalCatalog[] globalCatalogs, int index)
System.DirectoryServices.AccountManagement (2)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (2)
1197GlobalCatalog gc = null; 1204foreach (GlobalCatalog g in gg)