58 references to Name
System.DirectoryServices (57)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (2)
364if (Utils.Compare(schemaRoleOwner.Name, _context.GetServerName()) != 0) 366DirectoryContext schemaRoleOwnerContext = Utils.GetNewDirectoryContext(schemaRoleOwner.Name, DirectoryContextType.DirectoryServer, _context);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (2)
406if (Utils.Compare(schemaRoleOwner.Name, _context.GetServerName()) != 0) 408DirectoryContext schemaRoleOwnerContext = Utils.GetNewDirectoryContext(schemaRoleOwner.Name, DirectoryContextType.DirectoryServer, _context);
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (1)
489DirectoryContext configSetContext = Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context);
System\DirectoryServices\ActiveDirectory\ADAMInstanceCollection.cs (4)
29if (Utils.Compare(tmp.Name, adamInstance.Name) == 0) 44if (Utils.Compare(tmp.Name, adamInstance.Name) == 0)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (1)
338string adamInstName = ConfigurationSet.FindOneAdamInstance(context.Name, context, distinguishedName, null).Name;
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (1)
495serverName = adamInst.Name;
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\DirectoryServerCollection.cs (8)
135if (Utils.Compare(tmp.Name, server.Name) == 0) 157if (Utils.Compare(tmp.Name, server.Name) == 0) 220if (Utils.Compare(tmp.Name, server.Name) == 0) 295string name = server.Name; 341string name = server.Name;
System\DirectoryServices\ActiveDirectory\Domain.cs (1)
1245serverName = DomainController.FindOne(context).Name;
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);
System\DirectoryServices\ActiveDirectory\DomainControllerCollection.cs (4)
30if (Utils.Compare(tmp.Name, domainController.Name) == 0) 46if (Utils.Compare(tmp.Name, domainController.Name) == 0)
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (3)
209return new DomainController(context, Name); 238_ = Utils.GetNewDirectoryContext(Name, DirectoryContextType.DirectoryServer, context); 426DirectoryEntry de = new DirectoryEntry("GC://" + Name);
System\DirectoryServices\ActiveDirectory\GlobalCatalogCollection.cs (4)
30if (Utils.Compare(tmp.Name, globalCatalog.Name) == 0) 46if (Utils.Compare(tmp.Name, globalCatalog.Name) == 0)
System\DirectoryServices\ActiveDirectory\ReadOnlyDirectoryServerCollection.cs (4)
33if (Utils.Compare(tmp.Name, directoryServer.Name) == 0) 49if (Utils.Compare(tmp.Name, directoryServer.Name) == 0)
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
1213roots.Add(new DirectoryEntry("GC://" + gc.Name + "/" + p.DistinguishedName, this.credentials?.UserName, this.credentials?.Password, this.AuthTypes));