13 references to GetServerName
System.DirectoryServices (13)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (2)
103_abstractClassEntry = DirectoryEntryManager.GetDirectoryEntryInternal(context, "LDAP://" + context.GetServerName() + "/schema/" + ldapDisplayName); 364if (Utils.Compare(schemaRoleOwner.Name, _context.GetServerName()) != 0)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (2)
156_abstractPropertyEntry = DirectoryEntryManager.GetDirectoryEntryInternal(context, "LDAP://" + context.GetServerName() + "/schema/" + ldapDisplayName); 406if (Utils.Compare(schemaRoleOwner.Name, _context.GetServerName()) != 0)
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (1)
948tempEntry = new DirectoryEntry("LDAP://" + context.GetServerName() + "/" + distinguishedName, context.UserName, context.Password, authType);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (2)
362rootEntry = new DirectoryEntry("GC://" + forestContext.GetServerName(), forestContext.UserName, forestContext.Password, authType); 366rootEntry = new DirectoryEntry("LDAP://" + forestContext.GetServerName(), forestContext.UserName, forestContext.Password, authType);
System\DirectoryServices\ActiveDirectory\DirectoryEntryManager.cs (2)
157_bindingPrefix ??= "LDAP://" + _context.GetServerName() + "/"; 240string tempBindingPrefix = "LDAP://" + context.GetServerName() + "/";
System\DirectoryServices\ActiveDirectory\Exception.cs (1)
358exception = new ActiveDirectoryServerDownException(errorMessage, e, errorCode, context.GetServerName());
System\DirectoryServices\ActiveDirectory\Forest.cs (3)
899throw ExceptionHelper.GetExceptionFromErrorCode(result, _context.GetServerName()); 1049dsHandle = Utils.GetDSHandle(_context.GetServerName(), null, authIdentity, DirectoryContext.ADHandle); 1053dsHandle = Utils.GetDSHandle(null, _context.GetServerName(), authIdentity, DirectoryContext.ADHandle);