23 references to DnsHostName
System.DirectoryServices (23)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (4)
378hostname = (string)PropertyManager.GetPropertyValue(context, tmp.Parent, PropertyManager.DnsHostName)!; 929hostNameTable.Add((string)PropertyManager.GetSearchResultPropertyValue(r, PropertyManager.DistinguishedName)!, (string)PropertyManager.GetSearchResultPropertyValue(r, PropertyManager.DnsHostName)!); 1384string hostName = (string)PropertyManager.GetSearchResultPropertyValue(result, PropertyManager.DnsHostName)!; 1454string hostName = (string)PropertyManager.GetSearchResultPropertyValue(result, PropertyManager.DnsHostName)!;
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (2)
145dnsHostName = (string)PropertyManager.GetPropertyValue(context, rootDSE, PropertyManager.DnsHostName)!; 504_cachedHostName = (string)PropertyManager.GetPropertyValue(context, serverEntry, PropertyManager.DnsHostName)!;
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (1)
915serverDnsName = (string?)PropertyManager.GetPropertyValue(this.context, rootDSEEntry, PropertyManager.DnsHostName);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (1)
393string dnsHostName = (string?)PropertyManager.GetPropertyValue(context, rootDSE, PropertyManager.DnsHostName)!;
System\DirectoryServices\ActiveDirectory\DomainController.cs (1)
155dcDnsName = (string)PropertyManager.GetPropertyValue(context, rootDSE, PropertyManager.DnsHostName)!;
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (1)
65gcDnsName = (string)PropertyManager.GetPropertyValue(context, rootDSE, PropertyManager.DnsHostName)!;
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (3)
251string? tmpServerName = (string?)PropertyManager.GetPropertyValue(context, de.Parent, PropertyManager.DnsHostName); 259_sourceServerName = (string?)PropertyManager.GetPropertyValue(context, de.Parent, PropertyManager.DnsHostName); 287string hostName = (string)PropertyManager.GetPropertyValue(context, serverObject, PropertyManager.DnsHostName)!;
System\DirectoryServices\ActiveDirectory\Utils.cs (10)
289dcName = (string)PropertyManager.GetPropertyValue(context, de, PropertyManager.DnsHostName)!; 312propertiesToLoad[0] = PropertyManager.DnsHostName; 337dnsHostName = (string?)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.DnsHostName); 370propertiesToLoad[0] = PropertyManager.DnsHostName; 397dnsHostName = (string?)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.DnsHostName); 907originatingServerName = (string?)PropertyManager.GetPropertyValue(server.Context, srvEntry, PropertyManager.DnsHostName); 921originatingServerName = (string?)PropertyManager.GetPropertyValue(de.Parent, PropertyManager.DnsHostName); 1464searcher2.PropertiesToLoad.Add(PropertyManager.DnsHostName); 1581if (res.Properties.Contains(PropertyManager.DnsHostName)) 1584(string?)PropertyManager.GetSearchResultPropertyValue(res, PropertyManager.DnsHostName));