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