internal static DBAuthenticationType GetAuthenticationType(IDatabaseServices databaseServices) { #if JAVA return(DBAuthenticationType.DBAuth); #else return(DBCompatibilityReflectionUtils.GetIsIntegratedSecurityOnly(databaseServices.ExecutionService) ? DBAuthenticationType.IntegratedAuth : DBAuthenticationType.DBAuth); #endif }