internal override ADSessionInfo GetSessionInfo() { ADSessionInfo aDSessionInfo; try { aDSessionInfo = ADDomainUtil.ConstructSessionFromIdentity <SetADForestModeParameterSet, ADForest>(this, base.GetSessionInfo(), false); } catch (ArgumentException argumentException1) { ArgumentException argumentException = argumentException1; object[] item = new object[1]; item[0] = argumentException.Data["IdentityData"]; throw new ADIdentityNotFoundException(string.Format(CultureInfo.CurrentCulture, StringResources.CouldNotFindForestIdentity, item)); } return(aDSessionInfo); }
internal override ADSessionInfo GetSessionInfo() { return(ADDomainUtil.ConstructSessionFromIdentity <SetADDomainModeParameterSet, ADDomain>(this, base.GetSessionInfo(), true)); }