System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (8)
74public override string ToString() => Name;
294throw ExceptionHelper.GetExceptionFromErrorCode(result, Name);
378throw ExceptionHelper.GetExceptionFromErrorCode(result, Name);
741serverDownName = Name;
763DirectoryContext newContext = Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context);
768DirectoryEntry de = DirectoryEntryManager.GetDirectoryEntry(Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context), srchDN);
806DirectoryEntry de = DirectoryEntryManager.GetDirectoryEntry(Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context), siteName);
815DirectoryContext newContext = Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context);
System\DirectoryServices\ActiveDirectory\DomainController.cs (14)
280return new GlobalCatalog(context, Name);
589DirectoryContext forestContext = Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context);
709DirectoryContext domainContext = Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context);
722IPHostEntry hostEntry = Dns.GetHostEntry(Name);
745throw new ActiveDirectoryOperationException(SR.Format(SR.SiteNameNotFound, Name));
763throw new ActiveDirectoryOperationException(SR.Format(SR.SiteObjectNameNotFound, Name));
780throw new ActiveDirectoryOperationException(SR.Format(SR.ComputerObjectNameNotFound, Name));
797throw new ActiveDirectoryOperationException(SR.Format(SR.ServerObjectNameNotFound, Name));
814throw new ActiveDirectoryOperationException(SR.Format(SR.NtdsaObjectNameNotFound, Name));
831throw new ActiveDirectoryOperationException(SR.Format(SR.NtdsaObjectGuidNotFound, Name));
877de = new DirectoryEntry("LDAP://" + dc.Name + "/RootDSE", context.UserName, context.Password, Utils.DefaultAuthType | AuthenticationTypes.ServerBind);
1164throw ExceptionHelper.GetExceptionFromErrorCode(result, Name);
1282throw ExceptionHelper.GetExceptionFromErrorCode(result, Name);
1302DirectoryEntry de = new DirectoryEntry("LDAP://" + Name);